public static void main ( String [ ] args ) { String splashImage = Splash . getParam ( args , SPLASH ) ; if ( ( splashImage == null ) || ( splashImage . length ( ) == 0 ) ) splashImage = DEFAULT_SPLASH ; URL url = Splash . class . getResource ( splashImage ) ; if ( url == null ) if ( ClassServiceUtility . getClassService ( ) . getClassFinder ( null ) != null ) url = ClassServiceUtility . getClassService ( ) . getClassFinder ( null ) . findResourceURL ( splashImage , null ) ; Container container = null ; Splash . splash ( container , url ) ; String main = Splash . getParam ( args , MAIN ) ; if ( ( main == null ) || ( main . length ( ) == 0 ) ) main = ROOT_PACKAGE + "Thin" ; else if ( main . charAt ( 0 ) == ' ' ) main = ROOT_PACKAGE + main . substring ( 1 ) ; Splash . invokeMain ( main , args ) ; Splash . disposeSplash ( ) ; }
Display splash and launch app .