JComponent Class

Description

Represents a class for all components except top-level containers.

Availability

This class is supported only on the Open Agent.

Inheritance

JComponent is derived from the AWTContainer class.The following classes derive from the JComponent class:
  • AbstractButton
  • JColorChooser
  • JComboBox
  • JLabel
  • JLayeredPane
  • JList
  • JMenuBar
  • JPanel
  • JPopupMenu
  • JProgressBar
  • JRootPane
  • JScrollBar
  • JScrollPane
  • JSlider
  • JSpinner
  • JSplitPane
  • JTabbedPane
  • JTable
  • JTableHeader
  • JTextComponent
  • JToolBar
  • JTree
  • JViewport

Methods

JComponent inherits all its methods from AWTContainer, AWTComponent, and AnyWin.

Properties

In addition to the properties it inherits from AWTContainer, AWTComponent, and AnyWin, JComponent has the following properties: