All Downloads are FREE. Search and download functionalities are using the official Maven repository.

examples.legacy.mac.MacTest Maven / Gradle / Ivy

The newest version!
package examples.legacy.mac;
import javax.swing.JFrame;

import org.swixml.SwingEngine;



/**
 * The HelloMac class shows a couple of the Mac specifics exposed
 * HeeloMac renders the GUI, which is described in hellomac.xml
 *
 * @author Wolf Paulus
 * @version $Revision: 1.1 $
 *
 * @since swixml 1.1
 */
public class MacTest  extends JFrame {
  private static SwingEngine swix;

  private MacTest() throws Exception {
    swix= new SwingEngine( this );
    swix.render( "xml/mactester.xml" );    
    setVisible( true );
  }

  
  //
  //  Make the class bootable
  //
  public static void main( String[] args ) throws Exception {
    new MacTest();
  }

/**
 * @return
 */
public static SwingEngine getSwix() {
    // TODO Auto-generated method stub
    return swix;
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy