• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Cameron Miller
Greenhorn
Posts: 13
Chrome Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
Chrome Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind i got it. (I do need to dispose. Answered my own question haha.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic