aspose 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
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);
 
Don't get me started about those stupid light bulbs.
 
subject: minimize and maximize panel