1 
2 import org.swixml.SwingEngine;
3 
4 
5 /**
6  * The GridBag class shows how to do a simple GridBag layout
7  *
8  * @author <a href="mailto:[email protected]">Wolf Paulus</a>
9  * @version $Revision: 1.1 $
10 *
11 * @since swixml 0.5
12 */
13public class GridBag extends SwingEngine {
14  /** Default ctor for a SwingEngine. */
15
16  private GridBag() {
17    try {
18      render( "xml/gridbag.xml" ).setVisible( true );
19    } catch (Exception e) {
20      e.printStackTrace();
21    }
22  }
23
24  public static void main(String[] args) {
25    new GridBag();
26  }
27}