This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Collapsing Panels Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Collapsing Panels" Watch "Collapsing Panels" New topic

Collapsing Panels

Shane Hill

Joined: Nov 03, 2003
Posts: 10
I'm trying to collapse a panel by putting a button for the user to click.
The button will collapse or expand the panel. Do I just change the height of the panel and re-render it or is there a method to do this?
Thanks for you help.
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

more a gui/awt/swing - question, perhaps some sheriff may move this.
(so don't crosspost this question)
subject: Collapsing Panels