The TabbedPane component contains other components and allows access to them via a series of tabs. It is modelled very closely on the Swing JTabbedPane class.
As you add a component to the TabbedPane, you can give it a title and optionally and icon.
The user is then able to switch quickly between the componets via the tabs. You would typically enclose all the content with the TabbedPane in a container component such as Panel, but you dont have to.
The TabbedPane component uses a SingleSelectionModel interface to keept track of which tab is currently chosen. You can register a ChangeListener with this model and be informed when the tabs change.
|