Insert three circles into an Applet using FlowLayout

import java.awt.*;
import java.applet.Applet;

/** Insert three circles into an Applet using FlowLayout. 
 *
 */

public class CircleTest extends Applet {
  public void init() {
    setBackground(Color.lightGray);
    add(new Circle(Color.white, 30));
    add(new Circle(Color.gray, 40));
    add(new Circle(Color.black, 50));
  }
}

Permanent link to this article: http://bangla.sitestree.com/insert-three-circles-into-an-applet-using-flowlayout/

Leave a Reply