| | |
repeating the whole program after pressing Yes button in the confirmation message box
![]() |
•
•
Join Date: Sep 2004
Posts: 18
Reputation:
Solved Threads: 0
repeating the whole program after pressing Yes button in the confirmation message box
1
#1 Sep 11th, 2004
hello everyone, id like to ask for some help. i am a beginner in Java programming. i am doing mastermind game using java. the whole logic of the game is already finished, and my ONLY problem now is
HOW will i be able to repeat the whole game after the user press the YES Button from the message box asking him/her if he/she wants to play again...this makes it hard for me to finish the program. hope u guys can help me. thanks a lot
Re: repeating the whole program after pressing Yes button in the confirmation message box
1
#2 Sep 11th, 2004
I usually make another object of the gui class ... but I dont know how to get the running object closed .. cuz when I close the running object .. it throws an exception.....
•
•
Join Date: Sep 2004
Posts: 18
Reputation:
Solved Threads: 0
Re: repeating the whole program after pressing Yes button in the confirmation message box
0
#3 Sep 11th, 2004
•
•
Join Date: Sep 2004
Posts: 18
Reputation:
Solved Threads: 0
Re: repeating the whole program after pressing Yes button in the confirmation message box
0
#4 Sep 11th, 2004
•
•
•
•
Originally Posted by nanosani
I usually make another object of the gui class ... but I dont know how to get the running object closed .. cuz when I close the running object .. it throws an exception.....
Re: repeating the whole program after pressing Yes button in the confirmation message box
0
#5 Sep 11th, 2004
you should make the object in the button's action listener ... it will popup another frame of your program.
![]() |
Similar Threads
- Looping a message box vb net ? (VB.NET)
- Exit code and prompting message box (ASP.NET)
- Message Box Switch Statement (Java)
- Skip the Recycle Bin Confirmation Message (Windows tips 'n' tweaks)
Other Threads in the Java Forum
- Previous Thread: Java and XML
- Next Thread: Applet Help
| Thread Tools | Search this Thread |
-xlint actionlistener add android applet application array automation bi binary blackberry block bluetooth character class client code compile compiler component consumer database desktop developmenthelp eclipse equation error event fractal ftp functiontesting game gameprogramming givemetehcodez graphics gui health html hyper idea image int j2me j2seprojects java javac javaee javame javaprojects jetbrains jni jpanel jtable julia learningresources lego linked linux mac main method mobile myregfun netbeans notdisplaying number online pearl printf problem program qt researchinmotion rotatetext rsa scanner screen server set singleton sms sort spamblocker sql sqlserver string superclass swing system textfields thread threads time title tree tutorial-sample update variablebinding windows xor






