36,051 Topics
![]() | |
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++? | |
Hi Where can I find information on networking in java? Like programming applets/Jframes as IM's or programs sending emails? | |
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. … | |
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); } }] … | |
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? | |
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, … | |
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. | |
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. | |
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"); … | |
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 | |
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 … | |
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 … | |
What is the best compiler for JAVA? BlueJ, Eclipse, or what? Opinion, please...I'm kinda lost. | |
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: … | |
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 … | |
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 … | |
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..... | |
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 … | |
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 | |
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) … | |
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 … | |
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{ … | |
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 … | |
hi out there! can some pliz assist me in knowing the basic steps in using java to develop a system, say a project | |
[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] ![]() | |
How does one use an interface? The [inlinecode]paint[/inlinecode] interface in particular? ¡Ayúdame, por favor! | |
![]() | 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? ![]() |
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 … | |
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 … | |
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 … | |
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. | |
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? | |
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! | |
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, … | |
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.) … | |
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 … | |
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 … | |
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 } } | |
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 … | |
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 … | |
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?!! | |
[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 … | |
I want to send e_mail from jsp page, how can I do it | |
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 … | |
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 … | |
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. | |
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> … | |
hi hall, haw can i create a netbeans projects windows like tree in java? tanks. | |
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 |
The End.