hi!, how can i automatically maximize my JFrame when i run the prog? tnx! RicT
Renee Zhang
Ranch Hand
Joined: Sep 10, 2001
Posts: 72
posted
0
I found some code may solve your problem: Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); yourFrame.setSize(screenSize.width , screenSize.height); Good luck!
Ric T
Greenhorn
Joined: Aug 01, 2001
Posts: 4
posted
0
thnx for that code! but is there any other way to make my JFrame in maximize mode? RicT