The TitleBar component provides titles with expanding and closing icons. By itelf its not that useful, however other components such as WizardPane and ExpandableSection use this component to provide titles and to also generate expand and close events.
In order to know when the TitleBar icons has been pressed, register a ActionListener with the titlebar and listen for the action commands TitleBar.ACTION_LEFT_EXPAND, TitleBar.ACTION_RIGHT_EXPAND or TitleBar.ACTION_CLOSE.
|