jQuery in Action, 2nd edition*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Regarding JFrame maximise and minimise" Watch "Regarding JFrame maximise and minimise" New topic

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

Joined: Oct 27, 2005
Posts: 19656

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

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
Setting a size
JFrame always on top
JFrame maximize not really maximized
JFrame maximized, display taskbar