aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Set JFrame to Full Screen AFTER it has been made visible. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Set JFrame to Full Screen AFTER it has been made visible." Watch "Set JFrame to Full Screen AFTER it has been made visible." New topic
Author

Set JFrame to Full Screen AFTER it has been made visible.

Cameron Miller
Greenhorn

Joined: Jan 10, 2013
Posts: 13

I have a JFrame that is set visible when the program starts, but i want the user to have the option of setting the program full screen (i.e. by pressing F11).

How can I set the frame to full screen after it has been made visible? Will I need to dispose it? (That occured to me as i was typing this question.)

Thanks
Cameron Miller
Greenhorn

Joined: Jan 10, 2013
Posts: 13

Never mind i got it. (I do need to dispose. Answered my own question haha.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Set JFrame to Full Screen AFTER it has been made visible.