import java.awt.*; import java.applet.*; import java.util.Vector; import java.util.Enumeration; /* The main applet class installs a drawing panel at the center, and a control panel at the bottom. These panels do all of the work. */ public class Fractal { Vector myWindows; public void init() { myWindows = new Vector(10, 10); } public static void main(String args[]) { Fractal myFractal = new Fractal(); myFractal.init(); myFractal.makeWin(null); } public void makeWin(Vector theModels) { MyWindow myWindow = new MyWindow(myWindows, this, theModels); myWindow.resize(500, 400); myWindow.show(); myWindow.doStart(); } }