adalogo

Class AdaLogo


public class AdaLogo
extends JApplet

this is the main class. it has a main() method to start as application and also init() to run as applet. when running as applet it will only have one button which will then open the frame.

Constructor Summary

AdaLogo()
constructor, used when run as applet.

Method Summary

void
destroy()
String
getAppletInfo()
String[][]
getParameterInfo()
void
init()
init when run as applet.
static void
main(String[] args)
main method when run as application, this will just start the engine.
void
start()
void
startEngine()
this will start the engine, which will open the main frame.
void
stop()
void
stopEngine()
this will be called by engine, if frame was closed, to re-enable button.

Constructor Details

AdaLogo

public AdaLogo()
constructor, used when run as applet. this will create a button which will start the engine.

Method Details

destroy

public void destroy()


getAppletInfo

public String getAppletInfo()


getParameterInfo

public String[][] getParameterInfo()


init

public void init()
init when run as applet.

See Also:
java.applet.Applet.init()


main

public static void main(String[] args)
main method when run as application, this will just start the engine. everything else here is only of interrest if run as applet

Parameters:
args -


start

public void start()


startEngine

public void startEngine()
this will start the engine, which will open the main frame. this method will be called by the button if started as applet.


stop

public void stop()


stopEngine

public void stopEngine()
this will be called by engine, if frame was closed, to re-enable button.