File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
Similar Threads
Problem with display of JComboBox
Why doesn't main method return after GUI is created?
Why isn't this working?
not so simple question about swing
How to use "setCaretPosition"