32,204 Topics

Member Avatar for
Member Avatar for xoron123

hello i am an absolute noob to java...took me about a day to work out how to compile a .java file to a .class file now i cant run the .class file in DOS can anyone help me plz :( the error i get is "Exception in thread "main" java.lang.NoClassDefFoundError: …

Member Avatar for xoron123
0
136
Member Avatar for KimJack

Hello All, I am trying to parse a text file with the following type lines: Mr. Jones has a "dog" and a "cat" I need to extract the dog and cat and put them into an array of Items. Here is the set up: character = read.read(); char first = …

Member Avatar for KimJack
0
199
Member Avatar for nljavaingineur

Hello fellow developers, Does anyone know why I keep getting this error message "illegal start of expression"? I've already checked my braces. They matched. Still.....[This is code for the basic operation of a calculator n my code is as follows] [CODE]public void button2_actionPerformed(ActionEvent e) { applyOperator('+'); } public void button14_actionPerformed(ActionEvent …

Member Avatar for electron33
0
142
Member Avatar for new_2_java

Hi all, I am reading values (user name and password) from user's input, and I need to mask the password which is entered by user in the command line... Can someone give me a hint which class do I need to look at? Appreciate your inputs. Thanks.

Member Avatar for new_2_java
0
158
Member Avatar for dmotah

hi, im new to java...and the rest like swing and all that stufss. i got a code but i want to change the applet a bit , i mean the way it is diplayed. ken u help. and yes i want wen i click exit button the applets closes and …

Member Avatar for electron33
0
100
Member Avatar for zafzal

can any one tell wat r de technique used to search a file in other node using bluetooth file sharing in mobile phone (how the searching technique or methodology used)

Member Avatar for jwenting
0
27
Member Avatar for ahmad usama

hello.....to all of you.... i m in urgent need of codeof download accelarator....if u kno plzz.....any link....tell me... byye...byeee....

Member Avatar for jwenting
0
254
Member Avatar for baheddad
Member Avatar for hidash_in

hi, i have a problem in accessing an application from the domain server. can any one is there to clear my problem./ Advance thanks hidash

Member Avatar for electron33
0
135
Member Avatar for pradeep.singh28

hi friends, I am pursuing mCA final semester and i want to develop a project in JAVA using swing and applet, i have a good knowledge of core java and swing, so i want a good quality project where i can test myshelf,can you please help me in deciding the …

Member Avatar for jwenting
0
179
Member Avatar for Acidburn

Hey there, I've got a query when it comes to threads since im quite new. class A //default constructor.... //Contructs Class B which implements the Runnable interface. Class B //does some stuff. my question is theres 2 threads here, but what if i want Class B to wait for an …

Member Avatar for Ezzaral
0
83
Member Avatar for kennik

i just started my first IT job since graduating (I have not had a java class in 3 yrs due to going to school part time) and i have been givin a pretty easy assignment but i am having problems getting started. I pulled out my old school books and …

Member Avatar for kennik
0
89
Member Avatar for winbatch

Hi, If I have a JComboBox which has a list of Strings which can be selected, is there a way to insert a line/horizontal rule inside to indicate some sort of grouping of values? If so, how do I do it? (Also, the actual line ------ should not be selectable …

Member Avatar for masijade
0
212
Member Avatar for swanxst

Tracking Grades A teacher wants a program to keep track of grades for students and decides to create a student class for his program as follows: Each student will be described by three pieces of data: his/her name, his/her score on test #1, and his/her score on test #2. There …

Member Avatar for Ezzaral
0
2K
Member Avatar for chitra1
Member Avatar for raghu.8

hi i am creating travels project using .net with c#, and i am new to java scripting i have written a code to open a new window but i want open new window with in the page as we do dot net as respose.redirect("abc.aspx") in the same manner just look …

0
95
Member Avatar for zafzal

can any one tell me wat r de searching methods available to find out nearby mobile devices in J2ME

Member Avatar for Acidburn
0
53
Member Avatar for Derice

i am new in java ... i would like to know how 2 maintain an integer without having it to show the decimal after i manipulate it. Example: int y = 5; System.out.print(Math.pow(y,2)); it display 25.0 instead of 25 which i wan it to be. Help would be very appreciate …

Member Avatar for javaAddict
0
86
Member Avatar for Artmann

Hello mates. I've made a basic cryptation program and I hoped that I could get some feedback from you guys. I know the cryptation algorithm ain't that secure but that something for a later version ;) And I also wonder what I can do to speed up the cryptation progress. …

Member Avatar for Artmann
0
74
Member Avatar for volscolts16

Well another semester has started almost done with all java classes, and now C++ has started. I like it so far it is shorter and somewhat easier code. I have a homework assignment which I have started on, but with just starting C++ not sure where to go. Class meets …

Member Avatar for brk235
0
98
Member Avatar for chitra1
0
50
Member Avatar for mizcomscie

Please help me to find the definition and history of qubble sorting in java....this is a combination of quick sort and bubble sort....

1
55
Member Avatar for fish_cracerks

I am having a problem with my program and I need some help. Anything would be greatly appreciated. I am running a guessing game. [COLOR="Red"]Syntax error, insert "while ( Expression ) ;" to complete DoStatement Syntax error, insert "}" to complete MethodBody[/COLOR] [COLOR="Green"]Here is my code:[/COLOR] import java.util.Scanner; import java.util.Random; …

Member Avatar for VernonDozier
0
220
Member Avatar for fish_cracerks

Got that one now for another problem. At the end I want them to either enter an "y" or an "n". Depending on if they want to run the program again. I need help doing that. Exception in thread "main" java.lang.Error: Unresolved compilation problems: The local variable y may not …

Member Avatar for jnetpro
0
113
Member Avatar for nljavaingineur

Hello developers, Is there something wrong with my code? Im getting the error message saying my method, actionPerformed_Plus cannot be applied to the () in actionPerformed_Plus. [CODE] public void button2_actionPerformed_Plus(ActionEvent e) { actionPerformed_Plus(); //says the method below cannot apply here??? } public void actionPerformed_Plus(ActionEvent e){ if(firstTime) { String firstNumber; firstNumber …

Member Avatar for nljavaingineur
0
94
Member Avatar for ramvenkat

“Message Conversion Tool” acts as a tool which is used to convert the request (message) in one format to the standard format.Using this tool we can receive the request in any format, convert it into the standard format and send the response immediately.The request format may be of any kind …

Member Avatar for jwenting
0
102
Member Avatar for Webbsta

Firstly I'm not sure where to put this post because it falls under java and vb.net, but since I'm guessing that the main part needs to be done with my java files, i put in here. OK, so i am trying to create a console application to run my java …

Member Avatar for Webbsta
0
172
Member Avatar for manojkumar2004

Hi all, any idea how to call a C# method from a java class using sockets(need to access remote methods)??

Member Avatar for jwenting
0
90
Member Avatar for pradeep.singh28

hi friends, I am pradeep , i have a PC having configuration as: P-3, 1.2 GHz,256 MB RAM . when i am installing tomcat 5 ,it is starting properly but when I run any JSP page from the browser the message comes as "Server not found" . I have set …

Member Avatar for majestic0110
0
173
Member Avatar for abhi_elementx

I have two classes EmpData and VectorHandler. EmpData contains info abt employees like name and empcode Vectorhandler has a vector which stores Empdata objects . I want to use removeElement() which will delete the object which contains the particular empname/empcode from the vector. This doesnot work: [CODE]v.removeElement(empcode);[/CODE] [B]as empcode is …

Member Avatar for abhi_elementx
0
134

The End.