This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Collapsing Panels" Watch "Collapsing Panels" New topic
Author

Collapsing Panels

Shane Hill
Greenhorn

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)


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Collapsing Panels
 
Similar Threads
JPanel to collapse
JTree TreeNode question
How to write a javascript function to exapand/collapse all nodes in a TreeMenu
Expand/Collapse Panels
expand and collapse buttons