| | |
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 911 actionlistener addressbook android api append applet application array arrays automation binary blackberry block bluetooth character class client code compile component consumer csv database desktop developmenthelp eclipse error fractal freeze ftp game gameprogramming givemetehcodez graphics gui html ide image integer j2me j2seprojects japplet java javaarraylist javac javaee javaprojects jni jpanel julia lego linked linux list mac map method methods mobile netbeans notdisplaying number objects online oriented printf problem program project projects recursion replaydirector reporting researchinmotion rotatetext rsa scanner se server set singleton sms sort sql string swing system test textfields threads time title tree tutorial-sample ubuntu update windows working






