Package trams.gui

Examples of trams.gui.SplashScreen


            UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
        } catch ( Exception e ) { }
        //Load Application Context.
        ApplicationContext myContext = new ClassPathXmlApplicationContext("trams/spring/context.xml");
        //Display splash screen to the user.
        SplashScreen ss = (SplashScreen) myContext.getBean("splashScreen");
        ss.setStarted();
        while ( ss.notFinished() ) {
          try { Thread.sleep(1000); } catch ( InterruptedException ie ) { }
        }
        ss.dispose();
        UserInterface ui = new UserInterface();
        new WelcomeScreen(ui);
        //LoadingScreen ls = new LoadingScreen();
    }
View Full Code Here

TOP

Related Classes of trams.gui.SplashScreen

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.