![]() |
JButton A simple . You may want to add an Action or an ActionListener. Double-click a button to edit its text, shift-double-click it to open the HTML editor. |
![]() |
JRadioButton By convention are organized in a ButtonGroup where only one button at a time can be selected. You may want to add an Action or an ActionListener. Double-click a radio button to edit its text, shift-double-click it to open the HTML editor.See also: ButtonGroup Editor. |
![]() |
JToggleButton A , often used in toolbars to visualize and control some boolean value. You may want to add an Action or an ActionListener. Double-click a toggle button to edit its text, shift-double-click it to open the HTML editor. |
![]() |
JCheckBox A with a selected state similar to radio button. By convention any number of check boxes in a group can be selected. You may want to add an Action or an ActionListener. Double-click a check box to edit its text, shift-double-click it to open the HTML editor.
|
![]() |
JLabel can display (multi-line) text and/or an icon. RADi provides a simple to define multi-line text. Double-click a label to edit its text, shift-double-click it to open the HTML editor. |
![]() |
Using an image label is just a shortcut for using a
![]() |
JTextField A that lets the user enter one line of text. You may want to add an ActionListener whose actionPerformed() method is called when the user presses ENTER to indicate that text entry is complete. Double-click a text field to edit its text. |
![]() |
JFormattedTextField A to display formatted data or to format user input in a locale sensitive way. See Formatter editor. Double-clicking a formatted text field will open the Formatter editor. |
![]() |
JTextArea A that displays multiple lines of text, optionally allowing the user to edit the text. Double-click a text area to edit its text. |
![]() |
JTextPane displays a StyledDocument . Use the
to edit styled documents (simply double-click the text pane).See JEditorPane and JTextPane |
![]() |
JEditorPane can render HTML text, documents in Rich Text Format (.rtf) or plain text. You specify the URL of the file to display with the page property. You can not edit the document of a JEditorPane in RADi.See JEditorPane and JTextPane |
![]() |
JPasswordField is a text field specialized for password entry. A password field doesn't show the characters the user types. Instead, the field displays another character such as an asterisk '*'. |
![]() |
JComboBox A lets the user choose one of several choices. A combo box can be editable, so the user can type a value in the text field. You define items and cell renderers using the (double-click the combo box). |
![]() |
JList A presents the user with a group of items to choose from. You can configure a JList to accept only a single selection or multiple selections with the selectionMode property. You define list items and cell renderers using the
(double-click the list).
|
![]() |
JSlider A lets the user graphically select a value within a bounded interval. A slider's graphical representation can be customized in many ways. To customize a slider's labels, use the (double-click the slider). |
![]() |
JProgressBar A typically communicates the progress of some process by displaying its percentage of completion and possibly a textual display of this percentage. To indicate that a task of unknown length is executing, you can put a progress bar into indeterminate mode. |
![]() |
RadiSpinner A lets the user select a number or an object value from an ordered sequence. RadiSpinner is a JSpinner with some additional properties to customize the spinner's editor component. To edit the SpinnerModel , double-click the spinner.See RadiSpinner, SpinnerModel Editor. |
![]() |
JSeparator Use a wherever a visual divider is useful. For horizontal separators select the left and right anchor, for vertical separators select the top and bottom anchor. |
![]() |
JScrollBar You will rarely use a on its own, but you could use it as a kind of slider. |
![]() |
JTree A displays hierarchical data. Use the to edit tree data and customize the representation (open it by double-clicking the tree). See Tree Editor. |
![]() |
JTable A is used to display and edit regular two-dimensional tables of cells. Use the to edit table data and control the presentation of the data (open it by double-clicking the table). See TableModel Editor. |
![]() |
JPanel is a generic lightweight container. In RADi, a JPanel is synonymous with a design grid.See Internal Panels about additional capabilities. |
![]() |
FolderPanel A is a RADi-special component. It has title and the user can show or hide the content by clicking the title. A folder panel has a design grid, just like an internal panel. See Folder Panels. |
![]() |
JLayeredPane Components in a can overlap where each component has its own Z-position. See JLayeredPane and JDesktopPane. |
![]() |
JDesktopPane A is a JLayeredPane and additionally has an instance of DesktopManager managing internal frames. JDesktopPane is used to create a multiple-document interface or a virtual desktop.See JLayeredPane and JDesktopPane. |
![]() |
JInternalFrame can be added exclusively to a JDesktopPane . An internal frame owns a design grid just like a RADi panel, to add components, double-click the frame so the grid is displayed.See Internal Frames and Palettes. |
![]() |
Internal Palette An is a JInternalFrame but defined as palette. If and how the appearance of internal frames and palettes differ, is look and feel dependent. An internal palette owns a design grid just like a RADi panel, to add components, double-click the palette so the grid is displayed.See Internal Frames and Palettes. |
![]() |
Mover A is a RADi-special component. It can only be added to a JPanel or a JToolBar inside a JLayeredPane or JDesktopPane .See Mover. |
![]() |
Card Panel A Card Panel is not a Swing container on itself but a JPanel with a CardLayout LayoutManager , resulting in a "tabbed pane without tabs". You can specify a controller component for a card panel, allowing you to switch cards without programming.See CardPanel. |
![]() |
JTabbedPane A lets the user switch between a group of components by clicking on a tab with a given title and/or icon. Use the to customize tabs, you open it by selecting 'Edit Tabs' from a tabbed pane's . See JTabbedPane. |
![]() |
JScrollPane A provides a scrollable view of a lightweight component. See JScrollPane. |
![]() |
JSplitPane You use a to divide two (and only two) components either aligned left to right or top to bottom. See JSplitPane. |
![]() |
JToolBar is a container that is useful for displaying commonly used Actions or controls. See JToolBar. |
![]() |
JToolBar.Separator A separator to be placed in a JToolBar , dividing groups of related elements.
|
![]() |
Spacer A component with a size but no view. Used to create some space between components in tool bars. The one property of interest is spacerSize(int) .
|
![]() |
JMenuBar A is a container for a collection of menus. With RADi, a newly created menu bar has three default menus. You edit menus using the (open it by double-clicking the menu bar). See Menu Editor, JMenuBar. |
![]() |
JPopupMenu A is a menu that is invisible until the user makes a platform-specific mouse action, such as pressing the right mouse button over a popup-enabled component. With RADi, you can attach a popup menu to the following components: JLabel , all kinds of buttons, JTextArea , JEditorPane , JTextPane , JTable and JTree .See JPopupMenu. |
![]() |
Custom Beans Together with the components RADi provides, you can import from JAR files. See JavaBeans(TM) Support. |
![]() |
R-Beans You can convert any layout to an R-Bean (RADi Bean). After exporting and compiling it, you can create any number of R-Bean instances and insert them in other layouts. All changes to the R-Bean layout will immediately be reflected in all instances. See R-Beans (RADi Beans). |