My Movies 1.0.0

hirondelle.movies
Class LaunchApplication

Object
  extended by LaunchApplication

public final class LaunchApplication
extends Object

Launch the application.

Perform any needed one-time startup operations. Ask the user for their login credentials, and then display the main window.


Field Summary
static String APP_NAME
          Defines the name of the app.
static String APP_VERSION
          The version of the app.
 
Method Summary
static void main(String... aArgs)
          Run the application.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_NAME

public static final String APP_NAME
Defines the name of the app. Could be used in an About box, trouble ticket emails, and so on.

See Also:
Constant Field Values

APP_VERSION

public static final String APP_VERSION
The version of the app. An arbitrary string.

See Also:
Constant Field Values
Method Detail

main

public static void main(String... aArgs)
Run the application.

Performs the following :

Some apps might also perform :

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.


My Movies 1.0.0

Copyright Hirondelle Systems - Generated 2008Dec30.15.53