//******************************************************************************
// Mandelbrot.java: Applet
//
//******************************************************************************
import java.applet.*;
import java.awt.*;
import MandelbrotFrame;
//==============================================================================
// Main Class for applet Mandelbrot
//
//==============================================================================
public class Mandelbrot extends Applet implements Runnable
{
Rectangle currentRect=null;
private boolean iterating = false;
Image curimage = null;
int w = 200;
int h = 200;
int pix[] = new int[w * h];
// THREAD SUPPORT:
// m_Mandelbrot is the Thread object for the applet
//--------------------------------------------------------------------------
Thread m_Mandelbrot = null;
// STANDALONE APPLICATION SUPPORT:
// m_fStandAlone will be set to true if applet is run standalone
//--------------------------------------------------------------------------
boolean m_fStandAlone = false;
// PARAMETER SUPPORT:
// Parameters allow an HTML author to pass information to the applet;
// the HTML author specifies them using the tag within the