1 main program 2 JFrame programs.
How do I use the main program to call the JFrames to run during the main programs execution chromatically? (One at a time, one pops up user interacts and hits ok, the next frame pops up)
I've tried using this, but it executes both of the frames at the same time.
EventQueue.invokeLater(new Runnable() {
public void run() {
new chooseGender().setVisible(true);
}
});