Class MainApp
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----MainApp
- public class MainApp
- extends Applet
The main "What's In A Line?" applet class. This class is a front end to
the real applet. This class contains the button that appears in the web
browser. This class also launches AwtFrame which is where the the applet
really exists.
-
MainApp()
-
-
action(Event, Object)
- Wait for someone to press the "Start" button.
-
create()
- Create the independent "What's In A Line?" applet frame.
-
init()
- Create the "Start" button that appears in the browser.
-
main(String[])
- Only used when running the applet from the command line.
MainApp
public MainApp()
init
public void init()
- Create the "Start" button that appears in the browser.
- Overrides:
- init in class Applet
create
public void create()
- Create the independent "What's In A Line?" applet frame.
action
public boolean action(Event event,
Object arg)
- Wait for someone to press the "Start" button.
- Overrides:
- action in class Component
main
public static void main(String args[])
- Only used when running the applet from the command line.