posted 8 years ago
Hi
I am working on a game Minesweeper.
In there I have implemented a showMessageDialog and I would like to replace it with a showOptionDialog.
The problem is, to define the correct action after clicking Yes or No...
Thats how it is now with the showMessageDialog:
How do I have to implement the showOptionDialog to create a new game when the user clicks Yes and quit the application when the user clicks No?
I appreciate any advise and help...
I can post the whole section of the class if the code extract is not enough (was not allowed to add it as attachment).
Thank you