Expandable « Button « Java Swing Q&A





1. Expandable Button in Swing    coderanch.com

2. Expandable Button in Swing    coderanch.com

3. How to make an 'expandable' button-like component    coderanch.com

Sort of like in Visio with its stencils, I want to have left column components that expand when pressed. So when not pressed, it looks like a standard row in a table of contents or something. But when pressed, the sub-elements are displayed. I guess what I want is similar to an expandable tree node, but without the look and feel ...