posted 19 years ago
When the JOptionPane showXXX method returns the dialog closes. You can open another one each time you get input and want to continue (shown below). Or, instead of using JOptionPane you could make a JDialog with your components and control it from within your event code.