32,199 Topics
| |
Hi Everyone, I have the following xml from which I need a particular output . [code=xml] <items> <item id="film"> <category>entertainment </category> <category>drama</category> <category>music </category> </item> <item id="sitcom"> <category>entertainment </category> <category>tv</category> </item> </items> [/code] Output I would like film|entertainment film|drama film|music sitcom|entertainment sitcom|tv But the code I have displays the output … | |
Ok, I need help getting started. I know the rules and such so I'm not asking for anyone to tell me answers or anything like that. I can do Dijkstra's algorithm no problem on paper with a graph, but when it comes to the java implementation I have a harder … | |
i want to print date like 1st dec 1983,2nd,3rd 4th can any body tell me thanks | |
hi guys can anyone tell me wat is delegate and what is the difference between delegates in java and c++ please guys i need to understand this very soon.... :'( thanks... | |
Hi guys I'm trying to do this java exercise and I'm getting nowhere with this So I was wondering if anyone can help me out with this. 1. Create a PizzaOrder.java class with the following attributes and methods: PizzaOrder -size: String -toBeDelivered: boolean -count: int +PizzaOrder() +PizzaOrder(size: String, toBeDelivered: boolean) … | |
I need help with enums. I don't get them. This is part of a larger assignment, so all I need to do is fix this. I'm trying to assign year levels of school to constants. [code=java] public class Student extends Person { public Student( String name, String address, String phone, … | |
B]I need to do this:[/B] In the Hi-Lo game, the player begins with a score of 1000. The player is prompted for the number of points to risk and a second promt asks the player to choose either High or Low (1 or 2). The player's choice of either High … | |
Hi, I'm an IT student taking up web site development. One of the courses we are taking is Java. Anyway, I have been trying to change two String arrays to Boolean's. I keep getting errors all the time, and am at my wits end! Could someone show me how to … | |
First I'd like to thank the forum for helping me out with my look and feel issue earlier. The given code worked wonders. Now I'd like to be able to set up a scrollable GUI, but I have no idea where to start. I know JScrollPane and JScrollBar are involved, … | |
The subject title says it all. Is it worth taking classes at a university? I'm impatient with myself, and I would love to learn Java (some Sourceforge projects intrigue me) quickly and accurately. Is it worth the huge investment in time and money to take classes somewhere, or even online... … | |
Has anyone else had a problem with Java running on Firefox using windows Vista. I have installed java and it works on internet exploreer but i wont work on firefox when i tryed to install i get a a installation has failed doenst tell me why or anything just want … | |
Hello I am a newbie in java so now i just write codes with dialogs and JOptionPane .. like this so it's easy codes. So i want to write a program like this; Application will use only Dialog Boxes. Frames are not allowed to use. Application should ask eight questions … | |
Hello community, I am using java diff tool A7Soft JExamXML [URL]http://www.a7soft.com[/URL]. By default this tool uses Xerces but we are using Crimson. Has anybody know, how to specify JExamXML to use Crimson. Thanks. | |
Hello , I have a java program that genrates a family tree using swing and I want to use that in my JSP page.For which I have convert it into an Applet.Can anyone tell me how to convert it into Applet or any other alternate solution. | |
how to creat an applet array of 4 to get integers from the user and display the total marks of those nos. i tried but loops are not working. here is my program. import java.awt.*; import java.applet.*; import java.awt.event.*; public class test extends Applet implements ActionListener { Label l1,l2; TextField … | |
...kindly help me with this..........my code doesn't work.... ...create a program that will ask questions and at the end of the session it will display the total number of correct answers and the equivalent grade.... ...thanks..... import javax.swing.JOptionPane; public class questions { public static void main(String[] args) { int score=0; … | |
hi once again iam posting a same query but with a different approach please try to understand and reply me Iam developing a site like yatra.com now how can i share the databases of all the airlines, hotels etc into my website.that means inorder to maintain a site like yatra.com … | |
Hi, I'm terribly new at java, i created a program for a poster availability system and there are 8 errors that I have no idea how to resolve. The program is meant only to run at the command prompt. The errors are: C:\Project\Enrol.java:46: cannot find symbol symbol : method getID() … | |
Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of the … | |
• Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of … | |
In my Java class, we have to randomly create basketball teams and random scores, then average the scores for each team, and average the scores for each game. I am not sure how to average the score for each game, meaning adding scores vertically in a vector versus adding scores … | |
This program will build/compile but not run. I get an error message [B]Code:[/B] [CODE] java.lang.NoClassDefFoundError: midterm1/Main Exception in thread "main" Java Result: 1 [/CODE] Now I am very new to java and all of the logical errors and messages that come with them. Please bare with me. Can anyone take … | |
Hello I am making a "Superclass" that provides a programmer easier means of constructing a java panel by providing a template so as not to reuse code over and over. I have reached a point where I am trying to allow the programmer to call one method with in my … | |
hi everybody, Iam using mysql.I have a login form in which user vl enter his name and password.Now when he/she types upper-case or lower-case in the username field,mysql unable to check the case.Is not mysql 4.0 not a case-sensitive.can anyone suggest how to solve it. | |
Theese are error i am getting .. please help.. thanks in advance [code] F:\JAVA\Java Files\lab 9\MyCustomer.java:12: cannot find symbol symbol : method addaccount(Account) location: class Customer cust1.addaccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:13: cannot find symbol symbol : class Savingsaccount location: class MyCustomer cust1.addAccount(new Savingsaccount(5000.0,0.05)); //saving accountNo= 2 ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:14: … | |
Hi Can someone help me, I have been trying to fix this for a while without any luck. I am new to JAVA programming though I have coded in many languages. What I am trying to do is use the JFileChooser class in a Windows 2000 environment, the user can … | |
Hello, I want to know how to return an entire object using API binary search. Not the index of where the object was found but the actual object. My WaketechFile class is just like the File class. Can anyone please help? import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.*; /** … | |
After i establish the connection through url i want to post the data . After posting the data there is no change in client Can anyone help me import java.net.*; import java.io.*; import sun.net.[url]www.http.HttpClient;[/url] import javax.net.ssl.*; public class classname{ public static void main (String[] args) { try { URL u … | |
how to load image in java using applets? if any boby know programs plz help me | |
I am getting this error message please help me solve it [code] F:\JAVA\Java Files\lab 9\MyCustomer.java:19: ';' expected account deposit(500.0); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: not a statement cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:27: ';' expected … |
The End.