Example #1
0
  /**
   * Constructor; takes four parameters to initialize the Point object, width, height and level;
   * calls the makeWindow() method
   */
  Fractal(Point p, int w, int h, int l) {

    // assign values to local variables
    point = p;
    level = l;
    width = w;
    height = h;

    // create window
    makeWindow();
  }