aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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: 19216

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


SCJP 1.4 - SCJP 6 - SCWCD 5
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
 
Similar Threads
FullScreen in JFrame in jdk 1.2
JFrame maximized, display taskbar
Setting a size
JFrame always on top
JFrame maximize not really maximized