/* * Controller.java * * Created on July 9, 2004, 11:39 AM */ /** * * @author levenick */ import java.awt.*; import java.applet.*; import java.util.*; public class Controller extends Thread { private final int NUM_MOLECULES=100; private Frame theFrame; private Vector theList = new Vector(); private boolean running=true; public boolean getRunning() {return running;} /** Creates a new instance of Controller */ public Controller(Frame theFrame) { this.theFrame = theFrame; for (int i=0; i