563N/A * The contents of this file are subject to the terms of the 563N/A * Common Development and Distribution License, Version 1.0 only 563N/A * (the "License"). You may not use this file except in compliance 563N/A * You can obtain a copy of the license at 563N/A * See the License for the specific language governing permissions 563N/A * and limitations under the License. 563N/A * When distributing Covered Code, include this CDDL HEADER in each 563N/A * file and include the License file at 563N/A * add the following below this CDDL HEADER, with the fields enclosed 873N/A * by brackets "[]" replaced with your own identifying information: 563N/A * Portions Copyright [yyyy] [name of copyright owner] 3215N/A * Copyright 2006-2008 Sun Microsystems, Inc. 662N/A * This is the class that displays a splash screen and in the background it will 662N/A * create QuickSetup object. 662N/A * The main method of this class is directly called by the Java Web Start 662N/A * mechanism to launch the JWS setup. 563N/A * This class tries to minimize the time to be displayed. So it does the loading 563N/A * of the setup class in runtime once we already have displayed the splash 563N/A * screen. This is why the quickSetup variable is of type Object. 662N/A * This class can be reused by simply overwriting the methods 662N/A * constructApplication() and displayApplication(). 563N/A // Constant for the display of the splash screen 563N/A * The main method for this class. 563N/A * It can be called from the event thread and outside the event thread. 662N/A * Protected constructor to force to use the main method. 662N/A * The method used to display the splash screen. It will also call create 662N/A * the application associated with this SplashScreen and display it. 662N/A * It can be called from the event thread and outside the event thread. 563N/A * This method creates the image directly instead of using UIFactory to reduce 563N/A * @return the splash image. 563N/A * This is basically the method that is execute in SplashScreen.main but it 563N/A * it assumes that is being called outside the event thread. 563N/A * This methods displays the splash screen. 563N/A * This method assumes that is being called outside the event thread. 662N/A * This methods constructs the objects before displaying them. 563N/A * This method assumes that is being called outside the event thread. 662N/A * This method can be overwritten by subclasses to construct other objects 662N/A * different than the Quick Setup. 662N/A * @param args arguments passed in the main of this class. 563N/A * This method displays the QuickSetup dialog. 1126N/A * @see org.opends.quicksetup.ui.QuickSetup#display 563N/A * This method assumes that is being called outside the event thread. 662N/A * This method can be overwritten by subclasses to construct other objects 662N/A * different than the Quick Setup. 563N/A * Disposes the splash screen. 563N/A * This method assumes that is being called outside the event thread. 563N/A * This method just executes an sleep depending on how long the splash 563N/A * screen has been displayed. The idea of calling this method is to have the 563N/A * splash screen displayed a minimum time (specified by 563N/A * @param splashDisplayStartTime the time in milliseconds when the splash 563N/A * screen started displaying.