1. Accordion for Swing? stackoverflow.comWhat component libraries for Swing offer an accordion widget? I found JIDE, what are the other options? Any free ones? |
2. Does swing have any "accordion" style components? forums.netbeans.orgwsc0751 Joined: 09 Jan 2010 Posts: 44 Posted: Thu Apr 01, 2010 6:01 am Post subject: yes .see l2fprod . or can get a implements from google: such ... |
3. Accordion Widget coderanch.comThese 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 import java.awt.*; import java.awt.event.*; import javax.swing.*; public class AccordianTest { private JPanel getContent() { JPanel panel = new JPanel(new GridBagLayout()); GridBagConstraints gbc = new GridBagConstraints(); panel.add(new AccordianPanel().getPanel(), gbc); return ... |