XML Tutorial Widget Label
Version 1.6

This is the archives. For the latest Bambookit GUI 2.0, XML GUI Demos & Tutorials visit: www.bambookit.com/_demo.html

In the applet above we can see how how Bamboo Widget is used to represent a Label to be displayed with different controls. in this example labels are aligned 'bottomright' in the first column of controls. Widgets can be aligned right, bottomright, topright, left, bottomleft, topleft, center.

The Widget is also used to present headings or a title ('Create Contact', 'Interests'). The FontStyle is used: plain and bold. For complete list of Fonts and Colors please refer to the Buttons section where fonts are well described and illustrated.

Refer to Reference for complete list of Properties.

HTML Source:
<applet archive="bamboo_1_5.jar" code="Loader.class" width=390 height=150>
<param name="loadgui" value="tutorials_widget_label.xml">

tutorials_widget_label.XML Source:

<Widget setShape="0,0,568,350" setForeground="000000" setBorder="none" setFontSize="11" setBackground="f8f4db">
<Widget setShape="180,5,150,22" setFontSize="13" setLabel="Create Contact" setAlign="center" setFontStyle="bold"/>
<Widget setShape="0,30,100,22" setFontSize="11" setLabel="First Name" setAlign="bottomright"/>
<Widget setShape="0,55,100,22" setLabel="Last Name" setAlign="bottomright"/>
<Widget setShape="0,80,100,22" setLabel="Phone" setAlign="bottomright"/>
<Widget setShape="0,105,100,22" setLabel="Fax" setAlign="bottomright"/>
<Widget setShape="0,130,100,22" setLabel="e-mail" setAlign="bottomright"/>
<Widget setShape="0,155,100,22" setLabel="Contact Type" setAlign="bottomright"/>
<Widget setShape="0,180,100,22" setLabel="Occupation" setAlign="bottomright"/>

[Home][Tutorial] [Demo]

Label Multiline