All Packages Class Hierarchy This Package Previous Next Index
Class org.mitre.cvw.mudsy.Launcher
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----org.mitre.cvw.mudsy.Launcher
- public final class Launcher
- extends Panel
- implements ActionListener, FocusListener, Runnable
A Launcher panel for running the Mudsy MUD Client.
-
Launcher(String, int, String, Applet)
- Constructs a new launcher panel.
-
actionPerformed(ActionEvent)
- Starts this object as a thread except when another is running
-
focusGained(FocusEvent)
- Handoff focus
-
focusLost(FocusEvent)
- This method does nothing.
-
requestFocus()
- hand off focus to the correct field.
-
run()
- Creates a MudsyFrame and runs it.
-
runLauncher(String, int, String)
- Constructs a new launcher panel and puts it in a frame.
Launcher
public Launcher(String host,
int port,
String font,
Applet applet)
- Constructs a new launcher panel.
- Parameters:
- host - initial value for the host field
- port - initial value for the port field
- font - base font for client
- applet - place to receive an applet context is it exists
requestFocus
public void requestFocus()
- hand off focus to the correct field.
- Overrides:
- requestFocus in class Component
focusGained
public void focusGained(FocusEvent e)
- Handoff focus
focusLost
public void focusLost(FocusEvent e)
- This method does nothing.
actionPerformed
public void actionPerformed(ActionEvent e)
- Starts this object as a thread except when another is running
run
public void run()
- Creates a MudsyFrame and runs it.
runLauncher
public static void runLauncher(String host,
int port,
String font)
- Constructs a new launcher panel and puts it in a frame.
- Parameters:
- host - initial value for the host field
- port - initial value for the port field
- font - base font for frame and launched clients
All Packages Class Hierarchy This Package Previous Next Index