jQuery in Action, 2nd edition*
The moose likes Java in General and the fly likes FullScreen in JFrame in jdk 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "FullScreen in JFrame in jdk 1.2" Watch "FullScreen in JFrame in jdk 1.2" New topic
Author

FullScreen in JFrame in jdk 1.2

Jan Michael Soan
Ranch Hand

Joined: Feb 08, 2003
Posts: 36
Hello again;
I had a problem configuring my JFrame to a Maximized state is there someone there knew how to Maximized a JFrame in jdk 1.2 thanks . . .
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1121

Hi Jan Michael,
As far as I know, the only way to maximize a "JFrame" in JDK 1.2 is to set its size to the size of the screen. You can use the "getDefaultToolkit()" method to get the default "Toolkit" and then use the methods in class "Toolkit" to get the screen size.
However, the latest JDK (version 1.4) has much better support for maximizing "JFrame"s. Is there some reason why you can't upgrade to the latest version?
Hope this helps you.
Good Luck,
Avi.
 
wood burning stoves
 
subject: FullScreen in JFrame in jdk 1.2
 
Similar Threads
Full screen mode in Netbeans
Regarding JFrame maximise and minimise
JFrame
getX and getY not updated when maximized
JFrame maximized, display taskbar