Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mainProgram m=new mainProgram();
- m.setVisible(true);
- setVisible(false); //to hide the log in frame
- loginDialog.setVisible(true);
- if (loginDialog.isLoggedIn())
- mainFrame.setVisible(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement