Java Gui Builder
You are here: Home   >   Documentation   >   JGB Elements Documentation   >   Border Element
JGB Element Navigation
tab
ref

Border Element

Group membership: Layout control

border elements add borders to the container in which they are declared. The only possible border type at the moment is a titled border, using the default BorderFactory.createTitledBorder(String title).

As more information is gained on how the borders are used, more attributes will be added to allow the user to specify which factory method to use.

Attributes

Name Type Required Description
title CDATA Yes

The title which will be passed to the border factory. Use XML entities to add any of the reserved XML characters: write > to pass a > sign, and so on.

Example usage

…
<-- Add a border around our climate control group -->
<panel id="temperaturePanel">
    <border title="Temperature &amp; Climate Control"/>
    …
</panel>
…
        

Parent element(s)

controls, control, panel, tab.

Child element(s)

None
Back to top
SourceForge Logo
Hosted on SourceForge.net
Valid XHTML 1.0!
Valid XHTML 1.0 !
Valid CSS!
Valid CSS !
Code Coverage by Clover
Code Coverage provided by Clover
 |  Home |  License |  Downloads |  Documentation |  Developers |  Mailing Lists |  Dependencies |  Links |  Privacy Policy |  SF Project Home |