Border editor

For every JComponent you can set the value of the border property (addtitionally JScrollPane has a viewportBorder property). Most often you will define borders for CardPanel and JPanel.

RADi provides some , if you click the small button beneath the combo box, the Border editor opens.

Once you have defined a border, you can attach this border to any component in the same project. You can not edit the border name.

Tip: If a component has an editable border attached, you can open the editor by selecting 'Edit Border' from the component's .


The Border Editor dialog

First you will choose a border kind, each has its own set of parameters:
For all borders you can define Insets, a Title and an Inner Border. The inner border is an ordinary Border object and can itself have an inner border...
Empty Border has no additional parameters.
For Line Border you can additionally set the line Color, the line Width and the Rounded corners flag.
For Etched Border you set the style (Lowered or Raised) and the Hilight and Shadow colors. If you deselect Apply colors then colors will be calculated from the component's background, that is also what Reset colors does.
For Bevel Border you set the style (Lowered or Raised) and the Hilight Inner, Hilight Outer, Shadow Inner and Shadow Outer colors.
Matte (Color) Border fills the insets with the defined color. With zero insets you will see no border.
Matte (Icon) Border fills the insets by tiling the defined icon. With zero insets, the insets will be calculated from the tile icon's size like this: Insets.left and Insets.right will be icon.width, Insets.top and Insets.bottom will be icon.height.