32,204 Topics
| |
Hi I wonder if anyone can help please. I am stuck after unmarsheling complex type from JAXB in my web service operation. I can successfully unmarshal and loop through it which is fine however i am performing a search and want to return all the elements that match the search. … | |
I have this hex code and i want to convert to binary. 242465313037382c3031343536373536343335363738322c5858582c3134303632363033343033375f43314530312e6a70672c32332c302cc3bfc398c3bfc39be2809e13200e100e0c13100f10151413161c2f1e1c1a1a1c39292b222f44c2ab62e2809cc387243d03c592c2a9c387434c0e38064628c39f794e202d3101c2a4c2a601452534c593c39201282002c5bec2abc3b8c5bec39401c2a505c2a948c382e2809a15c39bc2ab3535c5a0c38648690139c3aa5ac2b4e280b921c2a1c28d2065210e7d4d371de280a127c39054c38b5654741de280b0c3986120c380c3b734c3a16f70c3b804c386e282ac761cc393c3a615e280a1c3bde28098c388c3834ec398c3bf6540c2a3c3acc5a00fc38d70c398c3bac5a0571ecb863cc2ab45c3ab213fc28d01c2ad13c2a47bc2bec2abc5a149e282acc2be7c23c3aec383c3ba203ec3947fe280a0151f5a2f7013c3ad52c3ba20c3bc2920c384c387c3b8c388c3ba2041713cc3997fc3a7c2abc3be746e73c395c39bc3b33420c3a1c38fc2ad1408514b400b566c57c3bd6b7d050345e280b010c2bc6ce282acc3a3771401e280b03de2809a01c3bac39058c3bc53c3a219e2809cc3b0c2a4c3981fc3bfc390c3abc2b6c5937bc393c3820e6801c3a146314b4c02c5a0282002c5a06b20742a4706c2b3c39e36195ec592290114e2809a5946646520c3bdc395c3afc3b5c2a8192a3741 but I don't know how to convert this kind of data. Thank you in advance. | |
Hi guys I have no idea how to go about this but I would like to create a form that displays results in the text area . For example if a user fills up his/her details on the form and clicks the submit button , his/her information would be displayed … | |
I need to calculate the digest value of the x509certificate and insert the siging process time. The signature format is XADES-BES | |
Hello, I'm new to the DaniWeb community and I am in need of some serious help. I am taking a web design class, but the teacher I currently have now has no idea what he is doing; he is an Info Tech teacher, but we have two classes at the … | |
I could use some assistance My final project in a python class is to calculate the distance between 2 lat/long points. My code is really just managing the input & output portions, while using existing code (properly credited) in a function to do the actual calculations. I've got it working … | |
hi guys how are you all, I sincerely hope that you all christmas is shaping up very good. I am doing my individual assignment, yes another one, a take home this time, I am to implemented a payroll system into a company using a for loop and which i did. … | |
Below is the question from a core java interview. Could somebody please help me? There are designation and employee objects. Designation Employee Designation object --> Designation object is in employee ArrayList<employee> emptemp = new ArrayList<employee>(); emptmp.add(R1); emptmp.add(R2); .. .. .. Now we need to write an helper class or utility … | |
HELLO guys IM beginner using java IM asking what is my problem of my codes?? can you fix it?? import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; public class invalid3 extends Applet implements Runnable { /** * */ private static final long serialVersionUID = 1L; private int x0 , y0 , incx … | |
I am doing this assignment in my Java class. I have never done any programming in my past so I am a complete beginner. I have typed up a program that will ask for employee name, the hourly rate, and the number of hours worked. The program needs to run … | |
My program compiles with no errors, but when I try to use it, the results do not show up and there is an error. Please help!!! import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.text.*; public class RetailSales extends JFrame { // declarations Color black = new Color(0, 0, 0); Color … | |
How do i put a flag on location that the user right click on it. and how do i put an img to all mine in game board when game is end? I try to put an img but wont work? How can i fix it? here is what a … | |
Can someone please! Fix this for me? My program : loop reads 10 double numbers after that inserts them into an array list. after that print MAx and MIn And AVg THIS MY PROGRAM WHY I CAN NOT MAKE COMPILE Fix this for me : import java.util.Scanner; import java.util.ArrayList; import … | |
Is string primitive value in java? What is difference between primitive value and primitive data type in java? Thanks in advance. | |
Row 1[ item1, item2, item 3, item 4, item 5, item 6, item 7, item 8] Row 2[ item1, item2, item 3, item 4, item 5, item 6, item 7, item 8] Row 3[ item1, item2, item 3, item 4, item 5, item 6, item 7, item 8] Row 4[ … | |
Example of problem: Pattern one is: 1, 10, 1: 1 Pattern two is: 10, 10, 10: 0 From this extremely simple pattern we will know that a small value followed by a large increase and then a large decrease means it is a 1. Otherwise its a 0. Using something … | |
hii I have a list having m1 m2 m3........ m922 and in each there are a1 a2 a3 a4 are there like m1=a1 a2 a3 a4 a5 a6 m2=a1 a2 a3 a4 a5 a6 m3=a1 a3 a5 a7 a8 a2 etc and i want this as m1=a1 a2 a3 a4 … | |
Hello i need some help on what to add to the following if statement for the out put to read the value of sum times the actual number of sum: public class ICMA42 { /* instance variables */ private int alpha; private int bravo; private int sum; /** * Constructor … | |
public class ICMA42 // instance variables - replace the example below with your own private int alpha; private int bravo; private int sum; /** * Constructor for objects of class sum which initialises sum to 0. */ public ICMA42() { this.alpha = 0; this.bravo = 0; this.sum = alpha + … | |
Following Error is shown well going to DGFT India Site. How to Resolve ERROR WHILE SENDING OUTPUT access denied ("java.net.SocketPermission" "164.100.128.143:8100" "connect,resolve") | |
Hey Guys, I am building app using a huffman tree, and am building this java program to just test a few things and I am having some trouble. I have everything working except that I am having troble decompressing a huffman string back into the original string. I would appreciate … | |
Is there a way to calculate large numbers without using BigInteger? I am calculating an exponent without using the math class. | |
I am having problems with it continuous loop at the end of the program. Any help would be appreciated. Thank you. Below is the coding so far. [CODE]import static java.lang.System.out; import java.util.Scanner; import java.io.*; public class Investment { public static void main(String[] args) { double principal = 0; double interest … | |
hi all I have a question. I am still trying to build this game/program but I declared a console and was told to import it which i did, the problem is that I am constantly getting an error line underneath the console, can u guys tell me why is that. … | |
Hi, If you look trough my code you can see that i have tried to print out some values (the mean value) with a scanner from a csv file with the help of an enhanced for loop (the absolut last loop) and it gives me NaN (not a number). And … | |
I am trying to convert my code into generic and I get an error at o1 + o2 stating that cannot find symbol for o1 and o2 then bad operand types for binary operator on the push(pop()+ pop()). public abstract class MyStackGeneric <E> extends ArrayList <E> { protected abstract E … | |
Hi! Newbie Java Programmer here! I've done a cash register program. this error's pretty unusual to me. i dont know how to fix this. import java.text.*; import javax.swing.*; import java.awt.*; public class CashRegisterV1 { public static void main (String[] args) { DecimalFormat fix = new DecimalFormat("0.00"); //QUANTITIES int Nido = … | |
so i need help on Modifying the source code to sort on the Title (in ascending order) and display the book title, comma space, author’s first name, comma space, author’s last name. Ensure all your variable names are appropriately named. and i also need help Modifying the source code to … | |
I'm trying to use this code, but it will only display the image in jtextpane and it does not display the text. JLabel label = new JLabel("<html>some text here<img src='http://www.yoursie.com/image.jpg'></html>"); then using this label in JTextPane. | |
in java jframe swing how i can use system default scrollbar style? eg. the default style looks like [this](http://i.imgur.com/3wrBufN.png). |
The End.