Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Full screen mode in Netbeans

 
Jamie Wool
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone got any idea how to make netbeans start a jFrame up in full screen mode.

Have tried the usual:


Any ideas?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean with the JFrame maximized or FullScreen Mode? 2 different things with 2 entirely different solutions.

Fullscreen Mode

Maximize Screen - Kind of depends on what JDK version you are running. You can try:

setExtendedState(JFrame.MAXIMIZED_BOTH);

after you setVisible(true) on the frame. If you just set the size as the dimensions of the screen, the frame will fill the screen but won't trully be maximized.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic