import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Ellipse2D;

import javax.swing.JComponent;


public class ResponsiveCircleComponent extends JComponent {
	
	@Override
	protected void paintComponent(Graphics g) {
		Graphics2D g2 = (Graphics2D) g;
		Ellipse2D ellipse = new Ellipse2D.Double(20, 20, 70, 70);
		g2.setColor(Color.green);
		g2.fill(ellipse);

	}

}
