title: Draw string on ellipse
body: <p>I'm happy with the output of my clock, however - I am not sure how to properly align my <code>drawString</code> for the numbers which should appear at the tip of each tick mark on the clock.
  I am hoping someone might be able show the proper method/formula for this.</p>
  
  <pre><code>    private void drawTickMarks(Graphics2D g2)
      {
       double radius = this.faceRadius;
  
       for (int secs = 0; secs &lt;= 60; secs++)
       {
           double tickStart;
  
           if (secs % 5 == 0)
               tickStart = radius - 15;
            else
               tickStart = radius - 5;
  
           tick = drawRadii(secs / 60.0, tickStart, radius);
  
           if (secs % 5 == 0)
              {
               g2.setStroke(new BasicStroke(3));
  
                  g2.drawString(""+(secs/5),(int)tick.getX1()+(int)(tick.getX1()-tick.getX2()),
                                                    (int)tick.getY1()+(int)(tick.getY1()-tick.getY2()));
              }
           else
               g2.setStroke(new BasicStroke(1));
  
  
           g2.setColor(Color.WHITE);
           g2.draw(tick);
       }
      }
  </code></pre>
  
  <p>Thanks to Thinhbk for a valid and correct solution with code and Jon W for the proper steps of coming to a solution.</p>