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 minimize and maximize panel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "minimize and maximize panel" Watch "minimize and maximize panel" New topic
Author

minimize and maximize panel

suraya ya'acob
Greenhorn

Joined: May 10, 2003
Posts: 25
I have an interface which content many panels. So i want to maximize and minimize the panels.
let say the real size of panel is 400 x 400 pixel, then i want to minimize to 400 x 20 pixel.
But the panel is dynamic, i can maximize and minimize again and again...
Thank you.
narayana murthy pedapudi
Ranch Hand

Joined: Jul 23, 2003
Posts: 42
Hi
As i understood ur problem..this is the solution
U can Do that Using panel.redhape(20,20,400,20);
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: minimize and maximize panel
 
Similar Threads
Frame without M&M buttons
JInternalFrame
JDialog without close button
How do you maximize on frame load?
to disable browser's max & min buttons