TOC PREV NEXT INDEX



TabbedPane (JTabbedPane)


The JTabbedPane can hold any number of parts, but only displays one of them at a time. Each part is given a name. The visible part can be chosen programmatically by name or by user interaction with the named tabs.

The properties page for a JTabbedPane has a list of the available pages. Clicking any item in the list will make that card visible. The name of the visible card appears in the 'Current Card' text field and can be changed. New cards can be added by pressing the 'Add a new card' button. A card can be removed by choosing it from the list and pressing the 'Recycle' button. The order of the cards can be changed by choosing a card and pressing the 'Up' or 'Down' buttons. The user can also specify whether the tabs should appear on the top, bottom, left, or right of the pane.

A JTabbedPane will generate an ChangeEvent whenever a new page is selected.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX