Swing Designer Palette

The following palettes are available within Swing Designer.

The palette may be fully configured using the Palette Manager.

  • Select - Select one or more widgets.
  • Marquee - Rubber band select multiple widgets.
  • Choose Bean - Adds a bean to the editor.
  • Choose Panel - Adds a custom panel to the editor.
  • Paste - Adds controls from Clipboard.
  • Tab order - Set the tab order of the components.

  • JPanel - A generic lightweight container.
  • JScrollPane - Provides a scrollable view of a lightweight component. A JScrollPane manages a viewport, optional vertical and horizontal scroll bars, and optional row and column heading viewports.
  • JSplitPane - JSplitPane is used to divide two (and only two) Components. The two Components are graphically divided based on the look and feel implementation, and the two Components can then be interactively resized by the user.
  • JTabbedPane - A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
  • JToolBar - A component that is useful for displaying commonly used Action's or controls.
  • JDesktopPane - A container used to create a multiple-document interface or a virtual desktop.
  • JInternalFrame - A lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.

  • Absolute (null) Layout - A null layout displays components with specified bounds.
  • FlowLayout - 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.
  • BorderLayout - A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center. Each region may contain no more than one component.
  • GridLayout - The GridLayout class is a layout manager that 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.
  • CardLayout - A CardLayout object is a layout manager for a container. It treats each component in the container as a card. Only one card is visible at a time, and the container acts as a stack of cards. The first component added to a CardLayout object is the visible component when the container is first displayed.
  • GridBagLayout - The GridBagLayout class is a flexible layout manager that aligns components vertically and horizontally, without requiring that the components be of the same size. Each GridBagLayout object maintains a dynamic, rectangular grid of cells, with each component occupying, one or more cells.
  • SpringLayout - A SpringLayout lays out the children of its associated container according to a set of constraints for each side.
  • FormLayout - JGoodies FormLayout is a powerful, flexible and precise general purpose layout manager. It aligns components vertically and horizontally in a dynamic rectangular grid of cells, with each component occupying one or more cells.
  • GroupLayout - GroupLayout mixes grid layout and free form layout.
  • BoxLayout - A layout manager that allows multiple components to be laid out either vertically or horizontally. The components will not wrap so, for example, a vertical arrangement of components will stay vertically arranged when the frame is resized.

  • Rigid area - Creates an invisible component that's always the specified size (BoxLayout only).
  • Horizontal strut - Creates an invisible, fixed-width component (BoxLayout only).
  • Vertical strut - Creates an invisible, fixed-height component (BoxLayout only).
  • Horizontal glue - Creates a horizontal glue component (BoxLayout only).
  • Vertical glue - Creates a vertical glue component (BoxLayout only).
  • Glue - Creates an invisible glue component (BoxLayout only).

  • Action - This class provides default implementations for the JFC Action interface.
  • ButtonGroup - This class is used to create a multiple-exclusion scope for a set of buttons. Creating a set of buttons with the same ButtonGroup object means that turning "on" one of those buttons turns off all other buttons in the group.

  • JButton - An implementation of a "push" button.
  • JCheckBox - An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user. By convention, any number of check boxes in a group can be selected.
  • JRadioButton - An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user. Used with a ButtonGroup object to create a group of buttons in which only one button at a time can be selected.
  • JToggleButton - An implementation of a two-state button -- an item that can be selected or deselected, and which displays its state to the user.
  • JLabel - A display area for a short text string or an image, or both. A label does not react to input events. As a result, it cannot get the keyboard focus. A label can, however, display a keyboard alternative as a convenience for a nearby component that has a keyboard alternative but can't display it.
  • JTextField - A lightweight component that allows the editing of a single line of text.
  • JPasswordField - A lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.
  • JTextArea - A JTextArea is a multi-line area that displays plain text. 
  • JFormattedTextField - A lightweight component that allows the editing of a single line of text using a predefined mask.
  • JSlider - A component that lets the user graphically select a value by sliding a knob within a bounded interval. The slider can show both major tick marks and minor tick marks between them. The number of values between the tick marks is controlled with setMajorTickSpacing and setMinorTickSpacing.
  • JScrollBar - An implementation of a scrollbar. The user positions the knob in the scrollbar to determine the contents of the viewing area. The program typically adjusts the display so that the end of the scrollbar represents the end of the displayable contents, or 100% of the contents.
  • JList - A component that allows the user to select one or more objects from a list.
  • JComboBox - A component that combines a button or editable field and a drop-down list. The user can select a value from the drop-down list, which appears at the user's request. If you make the combo box editable, then the combo box includes an editable field into which the user can type a value.
  • JSpinner - A lightweight component that allows the lets the user select a number or an object value from an ordered sequence.
  • JTree - A control that displays a set of hierarchical data as an outline.
  • JTable - The JTable is used to display and edit regular two-dimensional tables of cells.
  • JTable on JScrollPane - A JTable placed within a JScrollPane.
  • Table model column - A JTable model column.
  • JToolBar.Separator - A tool bar separator.
  • JSeparator - A horizontal or vertical line used to separate other controls.
  • JProgressBar - A component that, by default, displays an integer value within a bounded interval. A progress bar typically communicates the progress of some work by displaying its percentage of completion and possibly a textual display of this percentage.
  • JOptionPane - A component which implements standard dialog box controls.
  • JTextPane - A text component that can be marked up with attributes that are represented graphically.
  • JEditorPane - A text component to edit various kinds of content.

 

  • Label - A label with an optional mnemonic.
  • Title - A label that uses the foreground color and font of a TitledBorder.
  • Labeled separator - A labeled separator with the label in the left-hand side.

 

  • Menu Bar - A menu bar.
  • Popup Menu - A popup menu.
  • Cascaded Menu - Either a pull-down or cascaded menu.
  • Menu Item - A simple menu item.
  • CheckBox - A checkbox menu item.
  • RadioButton - A radio button menu item.
  • Menu Separator - A menu separator.

  • Panel - Panel is the simplest container class. A panel provides space in which an application can attach any other component, including other panels.
  • Canvas - A Canvas component represents a blank rectangular area of the screen onto which the application can draw or from which the application can trap input events from the user.
  • ScrollPane - A container class which implements automatic horizontal and/or vertical scrolling for a single child component.
  • Button - This class creates a labeled button. The application can cause some action to happen when the button is pushed.
  • Label - A Label object is a component for placing text in a container. A label displays a single line of read-only text. The text can be changed by the application, but a user cannot edit itdirectly.
  • Checkbox - A check box is a graphical component that can be in either an "on" (true) or "off" (false) state. Clicking on a check box changes its state from "on" to "off", or from "off" to "on".
  • Choice - The Choice class presents a pop-up menu of choices. The current choice is displayed as the title of the menu.
  • List - The List component presents the user with a scrolling list of text items. The list can be set up so that the user can choose either one item or multiple items.
  • Scrollbar - The Scrollbar class embodies a scroll bar, a familiar user-interface object. A scroll bar provides a convenient means for allowing a user to select from a range of values.
  • TextField - A TextField object is a text component that allows for the editing of a single line of text.
  • TextArea - A TextArea object is a multi-line region that displays text. It can be set to allow editing or to be read-only.