public class Launcher
extends java.lang.Object
What it does:
VmTools Launcher will first put up a little quick-starter Gui, then it
will run the actual application. The quick-starter Gui contains buttons
to run the actual tools, the actual application will be started through
its main(String[]) method.
Using VmTools Launcher: The first command line argument to the Launcher must be the fully qualified name of the application's main class (containing the main method of the application). This first element will be stripped off, and all following arguments will be passed to the application.
Adding more VmTools: A VmTool
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JFrame |
launcherFrame |
| Constructor and Description |
|---|
Launcher() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.JButton |
createButton(java.lang.String toolName,
java.lang.Class toolClass) |
protected javax.swing.JFrame |
createFrame(java.lang.String title) |
static void |
main(java.lang.String[] args)
Runs the Launcher Gui, then runs the application (specified as first argument).
|
public static void main(java.lang.String[] args)
protected javax.swing.JFrame createFrame(java.lang.String title)
protected javax.swing.JButton createButton(java.lang.String toolName,
java.lang.Class toolClass)