Hello Dani-Web participants,
I have an problem, I currently have simulation that runs fine in console, and now our teacher wants us to put it into a GUI type format. The problem that I am having is that the cancel button and close (X) button does not work what so ever. (JOptionPane.showinputdialog has to be in this format for now). So what could be the possible solution? The simulation works fine in the GUI. Also the Window is not suppose to close either I want the window to stay open until I press cancel or something like "q" to quit.
Also if need be I can include the code. (also I am a beginner as well).
Thanks for any info that is given.