@Override
  public void paint(Graphics2D g, JPanel caller)
  {
    Color color2 = PenColors.getTransparentVersion(mainColor, percentTransparent);
    g.setColor(color2);
    g.fillOval(x - radius, y - radius, radius * 2, radius * 2);
  }
@Override
  public void paint(Graphics2D g, JPanel caller)
  {
    Color color2 = PenColors.getTransparentVersion(mainColor, percentTransparent);
    g.setColor(color2);
    g.fillOval(x - radius, y - radius, radius * 2, radius * 2);
  }
@ Override public void paint ( Graphics2D g , JPanel caller ) { Color color2 = PenColors . getTransparentVersion ( mainColor , percentTransparent ) ; g . setColor ( color2 ) ; g . fillOval ( x - radius , y - radius , radius * 2 , radius * 2 ) ; }
Paints a circle
<div><b>Example:</b> {@code  circle.paint(g,caller)}</div>

@param g
the graphics object
@param caller
the Program Window or panel
Paints a circle <div > <b > Example : < / b > { @code circle . paint ( g caller ) } < / div >