1 
2 import org.swixml.SwingEngine;
3 
4 /**
5  * The Layout class shows the use of layout managers
6  *
7  * @author <a href="mailto:[email protected]">Wolf Paulus</a>
8  * @version $Revision: 1.1 $
9  *
10 * @since swixml (#136)
11 */
12public class Layout {
13  private static final String DESCRIPTOR = "xml/funlayout.xml";
14
15  private Layout() throws Exception {
16    new SwingEngine( this ).render( Layout.DESCRIPTOR ).setVisible( true );
17  }
18
19  public static void main( String[] args ) {
20    try {
21      new Layout();
22    } catch (Exception e) {
23      System.err.println( e.getMessage() );
24    }
25  }
26}
27