File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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)
I agree. Here's the link:
subject: Collapsing Panels
jQuery in Action, 3rd edition