|
My Movies 1.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectLaunchApplication
public final class LaunchApplication
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 |
|---|
public static final String APP_NAME
public static final String APP_VERSION
| Method Detail |
|---|
public static void main(String... aArgs)
Performs the following :
ExceptionHandler for uncaught exceptions
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 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||