32,199 Topics

Member Avatar for
Member Avatar for gvi

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 …

Member Avatar for jwenting
0
113
Member Avatar for Czechie

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 …

Member Avatar for ithelp
0
94
Member Avatar for pawan_1983

i want to print date like 1st dec 1983,2nd,3rd 4th can any body tell me thanks

Member Avatar for mickinator
0
82
Member Avatar for danieldear

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...

Member Avatar for darkagn
0
39
Member Avatar for spick

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) …

Member Avatar for mickinator
0
150
Member Avatar for DeadJustice

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, …

Member Avatar for DeadJustice
0
184
Member Avatar for rrm089

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 …

Member Avatar for Ezzaral
0
235
Member Avatar for hemmysoft

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 …

Member Avatar for Ezzaral
0
102
Member Avatar for Triggerhappy41

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, …

Member Avatar for Ezzaral
0
117
Member Avatar for Locke.Digitalus

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... …

Member Avatar for Charles@NYC
0
236
Member Avatar for russey123

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 …

Member Avatar for eranga262154
0
72
Member Avatar for inflex

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 …

Member Avatar for peter_budo
0
139
Member Avatar for alapick

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.

0
38
Member Avatar for maulee

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.

0
22
Member Avatar for bluebird123

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 …

0
78
Member Avatar for cutekola

...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; …

Member Avatar for peter_budo
0
147
Member Avatar for jyovasinedu

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 …

Member Avatar for schoolsoluction
0
77
Member Avatar for thejunkie

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() …

Member Avatar for parthiban
0
166
Member Avatar for ukankissthis

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 …

Member Avatar for parthiban
0
250
Member Avatar for amylaney

• 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 …

Member Avatar for ukankissthis
0
107
Member Avatar for speterson

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 …

Member Avatar for Ezzaral
0
2K
Member Avatar for Ortal

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 …

Member Avatar for Ortal
0
111
Member Avatar for kahilw

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 …

Member Avatar for jwenting
0
81
Member Avatar for balagangadharm

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.

Member Avatar for jwenting
0
89
Member Avatar for java_starter

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: …

Member Avatar for Phaelax
0
530
Member Avatar for craigmckeeman

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 …

Member Avatar for Ezzaral
0
116
Member Avatar for noellieb

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.*; /** …

Member Avatar for Ezzaral
0
106
Member Avatar for kalaiselvi.v

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 …

Member Avatar for Ezzaral
0
134
Member Avatar for rohoni
Member Avatar for Ezzaral
0
79
Member Avatar for java_starter

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 …

Member Avatar for Ezzaral
0
134

The End.