
import org.swixml.SwingEngine;

/**
 * The Layout class shows the use of layout managers
 *
 * @author <a href="mailto:wolf@paulus.com">Wolf Paulus</a>
 * @version $Revision: 1.1 $
 *
 * @since swixml (#136)
 */
public class Layout {
  private static final String DESCRIPTOR = "xml/layout.xml";

  private Layout() throws Exception {
    new SwingEngine( this ).render( Layout.DESCRIPTOR ).setVisible( true );
  }

  public static void main( String[] args ) {
    try {
      new Layout();
    } catch (Exception e) {
      System.err.println( e.getMessage() );
    }
  }
}
