This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Accordion Widget Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Accordion Widget" Watch "Accordion Widget" New topic
Author

Accordion Widget

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi guys! Does anyone know where I can get an accordion widget? Something similar to this...

http://www.javaserver.org/jmaki/spry/plainAccordion.jsp

I've seen one in swing before in one of my previous companies but I forgot where they downloaded it. Thanks!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
These appear to be run by JavaScript.
Here's an idea of how you could build this in java.
It makes use of the Container method setComponentZOrder
which was introduced in j2se 1.5
Mahesh Kedari
Ranch Hand

Joined: Nov 28, 2009
Posts: 111
Excellent Craig..!
Thanks a lot for this code...!!


Regards,
Mahesh Kedari - Fidus Technologies Ltd.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accordion Widget
 
Similar Threads
accordion in struts2-jquery-plugin-2.1.0 not working
jquery accordion and tabs on the same page
Multiple jQuery accordions?
Jquery or Prototype
present data in collasible and expandible format.