32,204 Topics
| |
I have a chat window, JTextBox i think, and you hit enter and it invokes an action listener, to send text. It generally works, but now and then i hit enter, and nothing. I have to hit enter again and typically it sends text. the focus is there for typing, … | |
:cry: I have searched forever, need help, I am an older person, who ejoys to play games, for some reason one of the sites I was using I can no longer get into. I get the java applet failed, and applet not inited, I have checked in internet options and … | |
hi friends i am doing project on "design and implementation of misused intrusion detection system by using autonomous and mobile agents " if u have aglet code for this one , plz send it to me. It helps me a lot to go further work. i hope u will do … | |
Hi all.. AJAX is famous for its dynamic displaying feature(forgive me if the desc. aint right, i just wanted you all to get the point). I want to do a non-web based project which will implement this feature. I've read that AJAX can be used only for web applications. Is … | |
How to kill the running .jar file from another jar in java? There are two jars running A.jar & B.jar Both jars are running. I want to kill B.jar from A.jar. Pls let me know, if any one knows. Thanks in advance. | |
I got a basic telnet socket connection working in an applet. YOu can log onto a server and type and read text. My issue is to show the servers chat i'm using a JTextArea. now this may be the best to use i dont know, maybe i just need to … | |
Hi, thank you for havin me in the forum... I'm kinda newbie to java... This is the code that I wrote for heapsort, but it seems like there is problem, can you pls pls help.. coz I'v been workin on this for a whole day, and i'v to submit it … | |
Hello, is there an acceptable way to do the following? [CODE=java]public CriarEquipamentoGUI (boolean showWindow) { if !(showWindow) dosomething(); return; else initComponents(); }[/CODE] Currently the return statement completly screws up the window. | |
Hi all, Here i pasted some code, In that i added to images to container but it is displaying the last one only, and one more thing is how to set the boundaries for jbutton, TextArea and Image. I need the code of count down timer. Thanks in Advance............... [code]import … | |
If somebody knows how to merge two SVNs plese tell me. I need to merge the code in local svn into client's svn. Actually there are 2 SVN servers. | |
Can anybody giving or suggest java solution to fill form in website automatically... | |
i don't know hoe to set key in blog opensource.please anybody who knew the process send the process. opensource name:blog | |
Hi, so as an excuse to learn Java (I currently only know Python), I would like to write a simple 2D web-based game. How would you recommend me doing this? Should I write the entire game from the ground up? Should I use a game engine? If you would like … | |
A summary of the errors I have received can be found here - [IMG]http://i46.tinypic.com/2cdcvat.jpg[/IMG] [CODE]import javax.swing.event.*; import javax.swing.*; import java.awt.*; import java.io.*; import java.net.*; import java.applet.AudioClip; public class Whackan extends JFrame implements ActionListener { JButton[][] spots = new JButton [ 5][ 5]; JLabel score = new JLabel(); int maxDelay = … | |
hi, i need to use both java and c++ for my project.but i don't know how to set path for both.i use jdk 1.5.6 for java compiler and mingw compiler for C++ .but i am able to use one compiler at a time. is there any option to use both … | |
hi i am new to this forum. How to connect Oracle database from JSP page. Can you help me with some example. regards Joshua Ravi | |
Hello everyone, I'm having a really strange problem and I can't figure out why. [CODE=java] public void readEmpregados(ArrayList <Classe_Pessoa> list) throws IOException, ClassNotFoundException { FileInputStream file; try { file=new FileInputStream(this.empregados); } catch (FileNotFoundException e) { this.empregados.createNewFile(); return; } System.out.println("I'm here"); try { ObjectInputStream out=new ObjectInputStream(file); Object prototype=out.readObject(); if (prototype instanceof … | |
May someone give me an idea of how can I scan integer in the text field and compare it to use in an if else statement. Thank you for the time. | |
First of all, Happy new year!!! [CODE]import java.io.*; public class Main { public static void main(String[] args) { int input = 0; switch (input) { case 1: System.out.print("one "); break; case 2: System.out.print("two "); break; case 3: System.out.print("three "); break; case 4: System.out.print("four "); break; case 5: System.out.print("five "); break; … | |
Hi, Im new here and to java programming in general. I've been given an assignment to write a sorting algorithm and then test it using JUnit tests. The problem is when I try to compile the tester class i get a ".class expected" errors followed by three "; expected" errors … | |
[B]The project :[/B] Deisgn and implement an application that reads an integer value and prints the sum of all even integers between 2 and in the input value, inclusive. Print an error message if the input value is less than 2. Promt accordingly. [B]Query :[/B] I'm not sure how I … | |
Hi and I am having trouble with one of the very most basics of java applets. That is putting the applet into a webpage and in that webpage specifying some parameters. The below is my code: [CODE=html]<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ARCHIVE="chatroom$1.class, chatroom$2.class, chatroom$3.class, chatroom.class, extender$innerclass.class, extender.class" width="500" height="480"> <PARAM name="archive" value="chatroom$1.class, chatroom$2.class, … | |
Good day! My codes stated don't have errors, it run well, BUT, though this program is saving in notepad as .out and .txt, when i closed the dos console and then run the program again, it is not reading the added items in .out and .txt file. That's the problem, … | |
Hi, I was playing around last night with having one main frame that contains several windows you can open under the window menu. For example you might have a chat window and you might have a game board window. I want these windows contained by one larger frame that represents … | |
hi everyone, i have been asked to make a basic calculator but my calc only holds two integers like 2+2 it cant do more than 2 operations so id reaaly be glad if someone could take a look at my code and see what the problem is asap.im still a … | |
First off no idea why the title doesn't say the full title, but My problem is getting snum in the main class to transfer over to the sub class, so that the snum in that class = snum from the main class The code is; [code] package workstation; import java.util.Random; … | |
I'm trying to create a game with Java, and it includes a timer, which I did with an extension of Thread. The timer is put in a loop. Effectively: [CODE] public class Game do{ System.out.println("Start"); playGameThread.start(); timerThread.start(); timerThread.join(); playGameThread.allDone = true; playGameThread.join(); System.out.println("Finish"); }while(play_again == 'Y'); } public class playGameThread … | |
First, I want to thank you for helping if you did, if not, thanks for checking it anyway. Second, I have been working on this for awhile, and I am slowly making progress. I am to make an address book, and for the most part I am getting it done … | |
Hi All, I am trying to convert HTML file into XML using java. If anyone of you have sample coding please share with me. Your suggestions greatly appreciated. Thanks, Veera | |
HI anybody can help me for the coding of user login form with two user name in notepad coding forjava application |
The End.