Class BojngAppl
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----BojngAppl
- public class BojngAppl
- extends Applet
- implements Runnable
The applet itself - just a button and some start-up logic.
Source
- See Also:
- BojngFrame, Bojng, Images
-
frame
- the main game window
-
goButton
- the "Go" button
-
label
- the status label
-
BojngAppl()
- Initializes button layout and starts the image loading thread.
-
handleEvent(Event)
- Handles mouse clicks, creates, starts and stops games.
-
run()
- Try to load images.
frame
protected BojngFrame frame
- the main game window
goButton
protected Button goButton
- the "Go" button
label
protected Label label
- the status label
BojngAppl
public BojngAppl()
- Initializes button layout and starts the image loading thread.
run
public void run()
- Try to load images.
handleEvent
public boolean handleEvent(Event e)
- Handles mouse clicks, creates, starts and stops games.
- Parameters:
- e - the event
- Overrides:
- handleEvent in class Component