TabPanel is a subclass of
Panel which has an
Items collection used to add many other
Container type components, each of which will become a tab.
TabPanel overrides how this
Items collection is rendered because internally
TabPanel uses a
CardLayout layout manager allowing it to hide each child item until it is activated. A tab bar shows the tabs. The title and icon of each item in the
Items collection is also used to set the tab's title and icon. Therefore, unlike normal panels, a tab item won't render a header.
TabPanel, you can programmatically add tabs. You can add some at the moment a
TabPanel is created while adding others later if needed. The contents of the tabs can be configured to render immediately, or when the tab is ...