This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Full Screen on Maximize

 
Aron Jhed Amiscosa
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there.
i am nearly done with my app..
now, i want to implement a full screen mode for my app..

on alt+enter, it will maximize and take the full screen. without the title bar...

i am thinking about will be essential here..

but i dont have any idea on how to maximize it. please help...
 
Maneesh Godbole
Saloon Keeper
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Recommended reading
http://java.sun.com/docs/books/tutorial/extra/fullscreen/index.html

It is a good idea to have and refer to the API docs. Most of the times, the API will provide a link on "how to ..."
 
Rob Spoor
Sheriff
Pie
Posts: 20555
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jhedzkie Skies wrote:but i dont have any idea on how to maximize it. please help...

Maneesh' link will be better for you in this case, but for future reference, check out Frame.setExtendedState and Frame.getExtendedState. This state is a bitwise OR of several states, so to maximize and restore it do the following:
 
Aron Jhed Amiscosa
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your help guys.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic