This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data forum!
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