File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

minimize and maximize panel

suraya ya'acob

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
As i understood ur problem..this is the solution
U can Do that Using panel.redhape(20,20,400,20);
I agree. Here's the link:
subject: minimize and maximize panel
It's not a secret anymore!