-
Java (
http://www.daniweb.com/forums/forum9.html)
| psylocke | Sep 11th, 2004 7:42 am | |
| repeating the whole program after pressing Yes button in the confirmation message box :?: 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 :) |
| nanosani | Sep 11th, 2004 8:04 am | |
| Re: repeating the whole program after pressing Yes button in the confirmation message box 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..... |
| psylocke | Sep 11th, 2004 8:11 am | |
| Re: repeating the whole program after pressing Yes button in the confirmation message box where do u specifically declare the object of that same gui class? |
| psylocke | Sep 11th, 2004 8:17 am | |
| Re: repeating the whole program after pressing Yes button in the confirmation message box Quote: 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..... | i would like to try creating an object of that GUI class, but where will i create it? i mean where can i replace that object? |
| nanosani | Sep 11th, 2004 5:06 pm | |
| Re: repeating the whole program after pressing Yes button in the confirmation message box you should make the object in the button's action listener ... it will popup another frame of your program. |
| All times are GMT -4. The time now is 2:29 pm. | |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC