animation.tr
Class MainApplet
- Runnable
public class MainApplet
extends Applet
implements Runnable
Class MainApplet is the main class for the applet
static ResourceBundle | getResourceBundle()
|
static ThreadGroup | getThreadGroup()
|
void | init() - Initializes the applet and loads the gifs
|
private void | openWindow() - Opens the main frame for the simulation
|
void | paint(Graphics g) - Sets font and text for the applet window
|
void | run()
|
private void | showHelp() - Opens a new HTML-page with help
TODO: This might not work, especially if the appletviewer is
used, solution: open a new window and display the text in it
|
void | start()
|
void | stop()
|
mainThread
private static Thread mainThread
monitorNode
private Image monitorNode
normalNode
private Image normalNode
res
private static ResourceBundle res
getResourceBundle
public static ResourceBundle getResourceBundle()
getThreadGroup
public static ThreadGroup getThreadGroup()
init
public void init()
Initializes the applet and loads the gifs
openWindow
private void openWindow()
Opens the main frame for the simulation
paint
public void paint(Graphics g)
Sets font and text for the applet window
showHelp
private void showHelp()
Opens a new HTML-page with help
TODO: This might not work, especially if the appletviewer is
used, solution: open a new window and display the text in it