Controller Components

 

On the image shown leftside, click on the components to know more about it.

Command

Contains all the controller components.

Top

JButton

A Swing button is basically an implementation of a push-type button. Unlike AWT buttons, Swing buttons can be displayed with text-labels as well as icons. Different icons can be set for different states of the icons.

Top

JToggleButton

Toggle buttons are similar to the regular buttons, except when a toggle button is "pushed-in", its view remains in the pushed-in condition until it is pressed again to "pop-out".

Top

JMenuBar

A Menu bar is a narrow rectangular component that is positioned at the top edge of an applet or frame. The Menubar contains the labels of drop-down menus that will be attached to it.

Top

Menu

Once a Menubar is added, Menus can be added to it using JMenu.

Top

Menu Item

A Menu item is essentially a kind of button located in a drop-down menu. A menu item can be added to the Menus in the Menubar or to a Popup Menu.

Top

Menu Seperator

A Separaor is simply a separating line drawn on a menu, to differentiate from Menu items.

Top

JCheckBox MenuItem

CheckBox Menu items are similar to the Checkbox, except it can be placed as a Menu Item.

Top

JRadioButton MenuItem

A RadioButton Menu item is similar to the RadioButton, except it can be placed as a Menu item.

Top

JPopup Menu

Popup menus "pops-up" at the cursor location, minimizing the mouse travel.

Top

JToolbar

A Toolbar is a component that displays a collection of actions, commands or function controls.

Top

JSlider

A Slider is a control mechanism with a pointer knob that can slide on a continous range of values to select a specfic value of the parameter for which the widget has been used.

Top