Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Accordion Widget  RSS feed

 
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent Craig..!
Thanks a lot for this code...!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!