Expendable list UI panel

Answered

Hi,

I'm looking for a UI component that is a list of items list which can be collapsed and expanded. Each of those inner items is a JPanel.

Would much appreciate code references and examples.

Thanks!

1 comment
Avatar
Vassiliy Kudryashov
Comment actions Permalink

Hi!

Try com.intellij.ui.HideableDecorator or com.intellij.ui.HideableTitledPanel it's not open API but part of community sources at least.

To support 'list view; you can put yur items in JPanel with GridLayout (if standard JList with custom renderer isn't good for you).

0

Please sign in to leave a comment.