Hi,
I' new to Swing...
I need to open a new form once OK is clicked for the login form.
I taken this login form on one JPanel in center of JFrame.
Now other Form should be open in same JFrame by disabling previous login JPanel..
I don't want new Jframe.
How to I do it?
Please help me...
Michael Dunn
Rancher
Joined: Jun 09, 2003
Posts: 4041
posted
0
The login panel should be in a JDialog,
in the background the JFrame can be
constructed,and if login successful
frame.setVisible(true);
if you really want it all in a single frame,
look up CardLayout