Hi there.
I have a question regarding JOptionPanes. Basically, I have a JOptionPane which gives feedback after a button is clicked. What I would like is for the user to be click the 'OK' button and for a different card to appear after the JOptionPane closes.
So within the action performed method I have something like this:
I'm not sure how to amend the setDefaultCloseOperation method so that it closes the JOptionPane AND change the card, e.g.
Can anyone assist?
Thanks,
Sam.