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

Variable Index

 o frame
the main game window
 o goButton
the "Go" button
 o label
the status label

Constructor Index

 o BojngAppl()
Initializes button layout and starts the image loading thread.

Method Index

 o handleEvent(Event)
Handles mouse clicks, creates, starts and stops games.
 o run()
Try to load images.

Variables

 o frame
 protected BojngFrame frame
the main game window

 o goButton
 protected Button goButton
the "Go" button

 o label
 protected Label label
the status label

Constructors

 o BojngAppl
 public BojngAppl()
Initializes button layout and starts the image loading thread.

Methods

 o run
 public void run()
Try to load images.

 o handleEvent
 public boolean handleEvent(Event e)
Handles mouse clicks, creates, starts and stops games.

Parameters:
e - the event
Overrides:
handleEvent in class Component