    // Illustrate double buffering to eliminate flicker.
import java.awt.*;

public class AWTDoubleBuffer {
    public static void main(String[] args){
        BufferedArcFrame frame = new BufferedArcFrame();
        frame.addWindowListener(new WindowCloser());
        frame.setVisible(true);
        // Hand over to the frame to run forever.
        frame.run();
    }
}

