I have a panel that displays a lot of information and is setup the way that I want it to look. I'm trying to get a window/JFrame to appear after a user clicks a button on the GUI already open. I want that new window to have the panel inside of it.
Should I be using JOptionPane.showOptionDialog or should I be using javax.swing.Popup? Could someone show a simple example of using javax.swing.Popup in action? Please :-)