This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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: 11027
12
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: 20532
54
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