Folder Panels

A has a title and the user can hide/show its content by clicking the title (so she can decide to view some data or not). Else folder panels work the same as internal panels.

A folder panel supports the following additional properties:
closed Programmatically show or hide the content. The default is false.
closedTitle The title displayed if the content is hidden. The default is "Show content".
contentBorder An additional border for the content. The default is null.
openTitle The title displayed if the content is shown. The default is "Hide content".
retainHeight Retain the preferred height independently of the closed state. The default is true.
retainWidth Retain the preferred width independently of the closed state. The default is true.

The panel will fire a PropertyChangeEvent each time its closed state changes.

Note: Using the in Cell Component Panel, you can switch from FolderPanel to JPanel and vice versa.