public final class LaunchApplication extends Object
Perform any needed one-time startup operations. Ask the user for their login credentials, and then display the main window.
Modifier and Type | Field and Description |
---|---|
static String |
APP_NAME
Defines the name of the app.
|
static String |
APP_VERSION
The version of this application (an arbitrary string).
|
public static final String APP_NAME
public static final String APP_VERSION
public static void main(String... aArgs)
Performs the following :
ExceptionHandler
for uncaught exceptions
Some apps might also do these tasks upon startup :
The Swing tutorial recommends the following style for application launch :
javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { createAndShowGUI(); } });However, that style is not used here, since it doesn't seem necessary. During launch, no GUI has yet been realized, so it seems practically impossible for a thread to interact with it.
Copyright Hirondelle Systems - Generated 2013Sep20.11.16