Java Gui Builder |
|
You are here: | Home > Documentation > JGB Elements Documentation > Window Element |
Group membership: Document root
The window tag describes one window. Windows extends java.awt.Window. JGB only uses javax.swing.JDialog and javax.swing.JFrame. It would be a simple matter to add support for java.awt.Dialog and java.awt.Frame.
Name | Type | Required | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
class | CDATA | No |
This attribute documents a fully qualified class name |
||||||
id | ID | No |
Identifies the name by which this control will be referenced by other parts of the JGB XML file or Java code. |
||||||
type | CDATA | Yes |
Declare the type of window to instantiate. Literal values
|
<!-- Declare a new window named 'msgWindow' that displays as a frame. --> <window id="msgWindow" type="jframe"> … </window>
Hosted on SourceForge.net |
Valid XHTML 1.0 ! |
Valid CSS ! |
Code Coverage provided by Clover |