Package edu.unc.cs.sportsync.main.ui.application

Examples of edu.unc.cs.sportsync.main.ui.application.Application


      Image[] images = { logo512, logo256, logo48, logo32, logo16 };

      shell.setSize(400, 250);
      shell.setMinimumSize(400, 250);
      shell.setImages(images);
      Application appComposite = new Application(shell, SWT.None);

      shell.open();
      while (!shell.isDisposed()) {
        if (!shell.getDisplay().readAndDispatch()) {
          shell.getDisplay().sleep();
        }
      }
      appComposite.dispose();
      shell.dispose();
    } catch (Exception e) {
      e.printStackTrace();
      ErrorUtil.openStackTraceDialog("A Fatal Error has occured and the application will need to shut down", e);
      System.exit(1);
View Full Code Here

TOP

Related Classes of edu.unc.cs.sportsync.main.ui.application.Application

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.