Label
Properties
Label  |
Main |
Description |
Name | Description | Values accepted | Default |
Text | The text to display. | A string constant or variable. | |
Image | An icon for a iconised frame. | A file name or a string constant or variable. | |
Alignment | The horizontal alignment of the text. | Type LEFT, CENTER or RIGHT or use the menu to make a choice. | |
On Press | The action to invoke when the element is pressed. | The Java code to invoke for the action. | |
On Release | The action to invoke when the element is released. | The Java code to invoke for the action. | |
Action | The action to invoke when the user interacts with the element. | The Java code to invoke for the action. | |
Graphical Aspect |
Name | Description | Values accepted | Default |
Size | The double[] array with the size of the frame in each direction. | Type the two size values or use the editor provided. | |
Background | The background color for the element. | Use the editor provided or read about colors. | |
Foreground | The color to use when drawing or writing in the element. | Use the editor provided or read about colors. | |
Font | The font used to display text in the element. | Use the editor provided to select name, style and size of the font. | |
Tooltip | Text displayed when the mouse is over the element. | A string constant or variable. | |