posted 22 years ago
I am using JDK1.4 and trying to maximize my JFrame. In JDK1.3 I used to setBounds(0, 0, screen.height, screen.width) but that didn't dock the window, just made it as big as the screen. You could still mazimize the JFrame to dock the window. With JDK1.4 you are suposed to be able to setExtendedState(JFrame.MAXIMIZE_BOTH). Below is my code and it is not working. I don't get a maximized frame.
------------------
Happy Coding,
Gregg Bolinger
[This message has been edited by Gregg Bolinger (edited October 17, 2001).]