Jun 02

I was looking at the Firefox website last week after I posted my entry about creating an aqua button, and the arrow icon in the download box caught my eye:

Original Firefox download arrow icon

Since I was still in the mood to play with Java2D a little more after creating the aqua buttons, I decided to create that arrow icon with Java2D. Here are the results of my efforts:

Java2D version of the arrow in a shade of green Java2D version of the arrow in a shade of red

Just like with the Aqua buttons I’m sure itcould be done a little bit better, however after about 40 minutes of playing around with implementing and perfecting the arrow, I decided it was good enough.

If you want to play around with this yourself, you can download the source code here.

3 Responses to “Creating an arrow icon with Java2D”

  1. Dustin Quasar Sacks Says:

    That looks very cool. Please continue posting your Java2D funtime code =).

  2. djohnson Says:

    Nicely done.

  3. JRB Technology Says:

    Rolex

    I found your entry interesting do I’ve added a Trackback to it on my weblog :)

Leave a Reply