How To Make Circle with Four Color In Java : Can you help me to find out how to make image like this with Java Applet.

[CIRCLE FILLED COLOR][1]


  [1]: https://i.stack.imgur.com/YRHbR.png



I have no idea about this , my way stuck until this step.

    	import java.awt.*;
		import java.awt.event.*;
		import java.awt.geom.*;

		public class CircleDraw extends Frame {
		  Shape circle = new Ellipse2D.Float(100.0f, 100.0f, 100.0f, 100.0f);
		  Shape square = new Rectangle2D.Double(100, 100,100, 100);
		  public void paint(Graphics g) {
		  Graphics2D ga = (Graphics2D)g;
		  ga.draw(circle);
		  ga.setPaint(Color.green);
		  ga.fill(circle);
		  ga.setPaint(Color.red);
		  ga.draw(square);
		  }

		  public static void main(String args[]) {
		  Frame frame = new CircleDraw();
		  frame.addWindowListener(new WindowAdapter(){
		  public void windowClosing(WindowEvent we){
		  System.exit(0);
		  }
		  });
		  frame.setSize(300, 250);
		  frame.setVisible(true);
		  }
		}


if you have any solution I'll appreciated

Thanks