Prova a dare un'occhiata qui:

http://java.sun.com/j2se/1.3/docs/gu....fm.html#61756

e in generale a Graphics2D