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 Full Screen on Maximize Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Full Screen on Maximize" Watch "Full Screen on Maximize" New topic
Author

Full Screen on Maximize

Jhedzkie Skies
Ranch Hand

Joined: Oct 28, 2009
Posts: 118
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

Joined: Jul 26, 2007
Posts: 9990
    
    7

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 ..."


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19543
    
  16

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:


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jhedzkie Skies
Ranch Hand

Joined: Oct 28, 2009
Posts: 118
thanks for your help guys.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Full Screen on Maximize
 
Similar Threads
window alignment
Maximize JFrame from code
How leave only a close button in a Frame
Opening a JFrame maximized
How do you maximize on frame load?