title: Java Graphics 2D UI Arrow Head Direction
body: <p>I want to draw an arrow using Graphic fillpolygon. But my arrow head is in a reverse side. Any idea? </p>
  
  <pre><code>int xpoints[] = { 20, 30, 30, 35, 25, 15, 20 };
  int ypoints[] = { 10, 10, 30, 30, 45, 30, 30 };
  int npoints = 7;
  g2D.fillPolygon(xpoints, ypoints, npoints);
  </code></pre>