Container |
 |
On the image shown leftside, click on the components to know more about
it. |
|
JFrame
|
 |
A JFrame is a Container that functions as the main window
for programs that use Swing Components.
|
Top |
JDesktopPane
|
 |
The Desktop pane is a special kind of layered pane that
is used to create a virtual desktop in Java Applications.
|
Top |
JInternal Frame
|
 |
An Internal frame is a light weight container that is similar
to the Swing Frame.
|
Top |
JPanel
|
 |
A Panel is a Swing component that is often used for grouping
within one area of an Applet or frame.
|
Top |
JTabbedPane
|
 |
A JTabbedPane displays a component from agroup of components
when one of the pane's tab is selected.
|
Top |
Box
|
 |
The Box Container represents a lightweight container that
can only use box layout.
|
Top |
JSplitPane
|
 |
A Splitpane is a lightweight Swing Container that graphically
separates the components that are positioned in it.
|
Top |
JScrollPane
|
|
A Scrollpane is used to display a child component with a
built-in scrolling facility.
|
Top |
JScrollBar
|
|
A ScrollBar contains a scroll knob that slides along a bar
attached with small end buttons.
|
Top |
|
Layout |
|
On the image shown leftside, click on the components to know more about
it. |
Flow Layout
|
 |
A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. Flow layouts are typically used to arrange buttons in a panel. It will arrange buttons left to right until no more buttons fit on the same line. Each line is centered.
|
Top |
Border Layout
|
A Border layout manager manages the arrangement of components in a pattern similar to the geographical locations indicated by north, south, east, west and center.
|
Top |
Grid Layout
|
 |
The GridLayout lays out a container's components in a rectangular grid.
The container is divided into equal-sized rectangles, and one component is placed in each rectangle.
|
Top |
GridBag Layout
|
 |
The Gridbag layout can manage components to span multiple rows and columns, without all the components being the same size.
|
Top |
Box Layout
|
|
The box layout pattern are of two patterns: horizontal and vertical. The horizontal box pattern
places the components from left to right in a container. The vertical box pattern places the components
from top to bottom.
|
Top |
Null Layout
|
|
Null Layout allows the user to make an absolute position of the components by provinding X and Y cordinates.
|
Top |
BoxFiller Layout
|
Box Filler Layout is an implementation of a lightweight component that participates in layout, but has no view.
|
Top |
|
Data Components |
|
On the image shown leftside, click on the components to know more about
it. |
Jlabel
|
 |
A Swing Label is short string of text with or without an associated icon. Swing labels can indicate the purpose of another component such as text field, slider and so, on.
|
Top |
JTextfield
|
 |
The Swing textfield can be used to display or edit a single line of plain text.
|
Top |
JPassword
|
 |
The Password field component is similar to the text field in that a single line of text is edited without showing the actual characters; but a default or specfied
echo character is displayed for each character typed inside the text field.
|
Top |
JTextArea
|
 |
The Swing text area is lightweight textarea component, using which multiple rows of plain text can be displayed or edited.
|
Top |
JTextPane
|
 |
The JTextPane is a lightweight component that supports styled text. Multiline text with various character styles and paragraph alignments and display icons and other user interface components can be used in the JTextPane.
|
Top |
JEditorPane
|
 |
The Swing Editor pane is used to edit or display data content such as HTML, RTF and so on.
|
Top |
JList
|
 |
The Swing list is a box-like component that displays text items in multiple rows, and is useful when you need to display a large number of items.
|
Top |
JCombo
|
 |
A ComboBox is a narrow strip-like display area with pull-down list attached to it. The right end of the display area has a small button where the user can open the associated list by using the mouse.
|
Top |
JTable
|
 |
A Table can display data in rows and columns format in a user interface. A Table can also optionally allow editing.
|
Top |
JTree
|
 |
A Tree is a user interface control used to display a set of hierarchial data. The most common use of a tree is to display the directory structure and associated files of a network drive.
|
Top |
JCheck Box
|
 |
A CheckBox is a small box-like icon that can be checked or unchecked to select or deselect program attributes. A Small phrase of text is often used to associate a checkbox icon to indicate its purpose.
|
Top |
JRadio Button
|
 |
Radio buttons are used as a group in which only one button can be selected at a given time.
|
Top |
Button Group
|
 |
The RadioButton objects are grouped together using a Button Group.
|
Top |
|
Data Aware Components |
|
Support for Database is not provided in the current version of CockTail. |
Top |