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 Regarding JFrame maximise and minimise Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Regarding JFrame maximise and minimise" Watch "Regarding JFrame maximise and minimise" New topic
Author

Regarding JFrame maximise and minimise

tadi raja
Ranch Hand

Joined: Jul 07, 2008
Posts: 109
Hi All,
I have a JFrame. i want to click on some component in JFrame, JFrame gets maximized (grows) its size and once maximized the JFrame, i want to click on JFrame's Border, it can be minimised (Shrinked). can you please help me how to do this one ?

thanks in advance
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19790
    
  20

Frame has a method called setExtendedState for this. Check it out.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding JFrame maximise and minimise