36,051 Topics

Member Avatar for
Member Avatar for Firestone

I tried searching the forums for this, but couldn't find anything. If I were to make a career out of computer programming, which would be better to learn, Java or C/C++?

Member Avatar for Rashakil Fol
0
376
Member Avatar for tygerberg

Hi Where can I find information on networking in java? Like programming applets/Jframes as IM's or programs sending emails?

Member Avatar for peter_budo
0
122
Member Avatar for xfrostedkissx

Hi! I was wondering if someone could please help me with a hangman program that I have to do. I have some ideas, but really don't know what to do or where to start. My program needs to be: interactive with the user, menu based(like Menu: 1. Play hangman 2. …

Member Avatar for ~s.o.s~
0
405
Member Avatar for satish.paluvai

I am passing a null value as a parameter to a method the code is like that-- [ public class A { public void ob1(Object o) { sopln("object version"); } public void ob1(String s1) { sopln("String version"); } public static void main(string args[]) { A a=new A(); a.ob1(null); } }] …

Member Avatar for ~s.o.s~
-1
112
Member Avatar for vinu_07
Member Avatar for satish.paluvai

can we create an war file in eclipse3.1 version with out taking the help of dos? if it is possible to create an war file plz tell me the procedure how to create it?

Member Avatar for Ezzaral
0
89
Member Avatar for tygerberg

Hi It's my official first year learning java and I've got a project that has to be done before the end of the year. And I was hoping someone could give me a couple of good project ideas. The project has to solve a certain problem e.g. Kids need games, …

Member Avatar for peter_budo
0
96
Member Avatar for ressi1

please make cash register using gui application and java programming language. Like the cash register in mcdonalds. i just want to see how it works. My program is not working.

Member Avatar for venomlash
0
83
Member Avatar for staron4

Looking for a free sites to get me started,I like Visual,Learn better That way. I have been reading a few books But it is a bite hard.

Member Avatar for tygerberg
0
136
Member Avatar for abar_sow

how to run servelets in java ..I think there is no error in my following code...In java compiler its tellin that package does not exists. import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloServelet extends GenericServelet { public void service(ServletRequest request,ServletResponse response)throws ServletException, IOException { response.setContentType("text/html"); …

Member Avatar for ~s.o.s~
0
131
Member Avatar for vvn

I Need to build comparison shopping site like [url]http://www.nextag.com[/url] / and [url]http://www.gosale.com/[/url] Any notes or open source code. Thanks

Member Avatar for jwenting
0
160
Member Avatar for vinutha1309

Hi... i want to align the components on the panel so that the components r fixed on the panel ..and the page should be scroll down so that i want to add scrollPane to it..can anyone help me.... This is my Code............. //contact Details import javax.swing.*; import java.awt.*; public class …

Member Avatar for peter_budo
0
101
Member Avatar for abar_sow

My doubt is how to run applet ..My code is as follows: The following code complied successfully .......To see the output whether i hav 2 type it in browser or dos prompt itself.. If i gave java SampleButton while Running in dos prompt, Its giving error called `exception in thread …

Member Avatar for abar_sow
0
177
Member Avatar for venomlash

What is the best compiler for JAVA? BlueJ, Eclipse, or what? Opinion, please...I'm kinda lost.

Member Avatar for jbennet
0
155
Member Avatar for acdeida

I'm so sorry I dont know how to Just post and not start a new thread. I dont want anyone to get angry with me but can you PLEASE Help? Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 2:59:07 PM, on 7/20/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: …

0
59
Member Avatar for no1zson

I want to learn more about how inheritance works, more like I NEED to learn more about it if I am to get any better at this. In my code I have the value of a cd defined as how many cds are in stock times the price of the …

Member Avatar for no1zson
0
97
Member Avatar for Ramya03

sorry ...i created a page in java applets ....with one text box and one button.I want to send the values in the text box to google web page.... Tat is how to pass values to web page(online) from one static page in java. Am totally new to java .. Give …

Member Avatar for peter_budo
0
85
Member Avatar for Ramya03

i created a page in java applets ....with one text box and one button.I want to send the values in the text box to java.....Am totally new to java .. Give ur suggestions also, Whether it can be done in sum other way... Thanks In advance To My dear Friends.....

Member Avatar for vinod_javas
0
433
Member Avatar for onsir

Hi, all I have code like this for encrypt - decrypt. but every time i run, result encrypt always different. so how to value in varible key constant. then result same every time run thanks. import java.io.*; > import java.security. *; > import javax.crypto. *; > import sun.misc.*; > import …

Member Avatar for ksaxena
0
130
Member Avatar for staneja

I am calling this constructor but it is not getting complied public conn() { Class.forName("com.mysql.jdbc.Driver"); con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root" , ""); } throwing error message: D:\etech\WEB-INF\src>javac *.java conn.java:16: incompatible types found : java.sql.Connection required: com.mysql.jdbc.Connection con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root" , ""); ^ 1 error

Member Avatar for staneja
0
92
Member Avatar for acdeida

Hey everyone, My IE is taking so long to start up so I might have a virus.... this is the first site I came across so hopefully someone can help quick :) Tony Logfile of HijackThis v1.99.1 Scan saved at 6:04:45 PM, on 7/15/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) …

Member Avatar for acdeida
0
233
Member Avatar for md_salman

I have a class A ( which is a JFrame with card layout ). Two other classes B and C ( both are JPanels ). Class A initially displays an instance of the class B in its content pane. When a button is hit in the class B, I want …

Member Avatar for Ezzaral
0
62
Member Avatar for vijaygandhi559

Hi, I am trying to configure the logger in java to log my messages. I have downloaded and added the log4j.jar to my classpath. I am receving two error messages while I am running the program to check it.The code I am using is : import org.apache.log4j.*; public class LoggerClass{ …

Member Avatar for jwenting
0
204
Member Avatar for staneja

I am trying to create a calss with a constructior that creates connection with MYSql database , i am using database name as dbetch . I have set the path varable but still it id throwing error package login; import java.sql.*; import java.sql.DriverManager; import com.mysql.jdbc.Connection; public class conn { Connection …

Member Avatar for staneja
0
158
Member Avatar for qasauria

hi out there! can some pliz assist me in knowing the basic steps in using java to develop a system, say a project

Member Avatar for ioillusion
0
175
Member Avatar for madhu.garimilla

[B]if (4,2) is given as input we have to list all the 4 digit binary numbers containing two 1s ie, 1100,1010,1001.... etc. i need a java program to implement this. can anyone help???[/B]

Member Avatar for iamthwee
0
1K
Member Avatar for venomlash

How does one use an interface? The [inlinecode]paint[/inlinecode] interface in particular? ¡Ayúdame, por favor!

Member Avatar for jwenting
0
99
Member Avatar for iamthwee

Yeah I just can't do it. Help! I tried installing eclipse and it just says error. So I tried installing the sdk. And did the rpm file but it just ain't working. There is no javac recognized. What shall I do?

Member Avatar for iamthwee
0
156
Member Avatar for no1zson

Of course I have to make things difficult. If I just put 5 cd names in to an array it would not be that hard to set up a sort for them, and get them in alphabetical order, but I have to have the user enter the names in, so …

Member Avatar for no1zson
0
133
Member Avatar for jasmin_java

I made code in the first page which consists 4 buttons , each button has program If you select any button the program will run on, but there isn't syntax error but there re some buttons not executed because I use JOptionPane and I don't know where is the problem …

Member Avatar for TheGathering
0
125
Member Avatar for vijaygandhi559

Hi I am trying to use xpath and xml parsing through java. I am completely new to this. I have an xml below and I need to extract the text which says ....."cn=GSTDealer,ou=affiliations,dc=tis,dc=,dc=com,ou=portals,ou=spec,o=teds" and also the text which starts with " Group object missing user " This is the xml …

Member Avatar for masijade
0
163
Member Avatar for repole

I'm sure this has been discussed before, but a forum search didn't do me much good, nor did a google search. I want to look into a folder and iterate through the text files in it....how do I do so.

Member Avatar for ksaxena
0
112
Member Avatar for soso30

hi , I built an application to update the phone numbers using j2me .but when run the application in real mobiles . it askes the user if he wants to update every record . how can i make the alert shows up once?

0
96
Member Avatar for MrScruff

Hi! I have a bunch of Jbuttons which are scattered over each other. Is there a method which will bring the button the user selected to the front of the pack? Thanks!

Member Avatar for masijade
0
1K
Member Avatar for baltazar

I need to implement a Binary search tree in Java (only insert and find) and then should be able to display the tree. This is the code I've come up with so far. But I get the nullpointer exception. I am getting this because the two pointers in my node, …

Member Avatar for TheGathering
0
325
Member Avatar for suriname0

I have a current (non-school) project that requires me to update text-files online. (Or at least store data.) I think I need to write a servlet, but am not sure how, and I don't have a good source to teach me. (I tried Applets, but those can't read and write.) …

Member Avatar for peter_budo
0
139
Member Avatar for nmm32

I already configured the Tomcat to run CGI, following some steps from several tutorials, but I do not know what is happening that I cannot run any Perl CGI. [B]The browser just tries to download the code file, it is not showing the compiled output.[/B] I have this simple page …

Member Avatar for nmm32
0
207
Member Avatar for no1zson

I have just been using a standard String to input and return information. I am trying to impliment an Array in to this inventory program so that I can store and view more than one item at a time. I think I have done ok until I get to the …

Member Avatar for Ezzaral
0
216
Member Avatar for satish.paluvai

can we run a run() method with out using a start() method in a program? public class A extends Thread { public void run() { System.out.println(" i will execute any way"); } public static void main(string args[]) { A a=new A(); a.run(); // no start method } }

Member Avatar for ProgrammersTalk
0
133
Member Avatar for push

please help me for this. am trying to execute servlet programe at myeclipse. but am getting [B][COLOR=green]type[/COLOR][/B] Status report [B][COLOR=green]message[/COLOR][/B] [U]/hi/servlet/hs1[/U] [B][COLOR=green]description[/COLOR][/B] [U]The requested resource (/hi/servlet/hs1) is not available[/U] [U]at the browser.[/U] and at the server am getting this error restartContext(/hi) Reloading this Context has started plse help me to …

0
61
Member Avatar for no1zson

Massive thunderstorm here right now, I am trying to get off before I lose power. I have an array that is accepting inventory input from the user. The value of each product is figured as it is entered, simple instock number muliplied by the product value. I simply want to …

Member Avatar for no1zson
0
156
Member Avatar for baltazar

How do I implement a red-black tree in java. I am new to Java and have no clue how to proceed. I need to be able to print out the tree as well. Can someone help?!!

Member Avatar for mzd12111
0
252
Member Avatar for mzd12111

[COLOR=green][B]Hi friends[/B][/COLOR] i'm trying to write my own language in a file (using RandomAccessFile and sometimes fileOutputStream classes of API) but i can't use Farsi in these files , beacuse they are not unicode and instead of characters , the Elements of them are Bytes , what do you suggest …

Member Avatar for mzd12111
0
98
Member Avatar for katcoot
Member Avatar for satish.paluvai

plz help me in writing the logic with out using the util packege classes in java? plz give the code for this program in linkedlists way (not by using util package classees) [code=java] import java.util.*; public class arr1 { public static void main(string args[]) { list l1=new ArrayList(); // or …

Member Avatar for ~s.o.s~
0
136
Member Avatar for Narayan.kv

Hi All, I am facing this problem while displaying the image with huge image map in IE6. The image map is read as a form field in the jsp page. If the image map is normal ie, if it chart has around 9000 points then it works fine. But if …

Member Avatar for ~s.o.s~
0
153
Member Avatar for pnkbhat

just i finishd java-j2ee course. i wanted to do one project using jsp. i dont have idea how to start as a beginner which project i ca n do. i want full support while doing th eproject for doubts. plz anybody can help me? Iam ready to do hard work.

Member Avatar for ~s.o.s~
0
118
Member Avatar for D_ee

SignIn.html -------------- <HTML><HEAD> <TITLE>Log In To Your Account</TITLE> </HEAD> <BODY> <H2><Bold>Log In To You Account</Bold></H2> <p>To log in, type in your USERNAME and PASSWORD. <br>Then click on the Submit button.</p> <FORM ACTION="Sign.jsp" METHOD="POST"> <br>USERNAME: <INPUT TYPE=TEXT NAME ="UserName"> <br>PASSWORD: <INPUT TYPE=TEXT NAME ="Passwrd"> <br> <INPUT TYPE=Submit VALUE ="Submit"> </FORM> </BODY></HTML> …

Member Avatar for peter_budo
0
1K
Member Avatar for jopal
Member Avatar for jopal
0
127
Member Avatar for teklu

when I am trying to run the jar file is give me the message fail to load Main-Class manifest attribute from..... I am programming using netbeans IDE 5.5 any help

Member Avatar for teklu
0
169

The End.