title: Java awt draw circle border
body: <p>Using java awt, how to make the code draw a border for a circle. The henceforth code has performance issues, and maybe it would run faster if it just painted the outline.</p>
  
  <p><pre><code><br>
         g.fillOval(gameLogic.getParticleXCoor(i) - 3,
                    gameLogic.getParticleYCoor(i) - 3,
                    gameLogic.getParticleSize(i) + 6,
                    gameLogic.getParticleSize(i) + 6);
         g.setColor(gameLogic.getParticleColor(i));
         g.fillOval(gameLogic.getParticleXCoor(i),
                    gameLogic.getParticleYCoor(i),
                    gameLogic.getParticleSize(i),
                    gameLogic.getParticleSize(i));
  </pre></code></p>