is there a method to show if a static jframe is showen
say if i have main frame in one class. then i show the the second jframe
with .show() is there any way to tell in the main class that the second frame is showen?
here's my second classes frame that gets showen
public static void show()
{
FrameColor frame = new FrameColor();
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
frame.setSize(150, 100);
frame.setVisible(true);
frame.setAlwaysOnTop(true);
}
Edited by: nicchick on Aug 28, 2008 10:55 PM