Thanks, works great! I love simple solutions :)
[Message sent by forum member 'typically' (typically)]
http://forums.java.net/jive/thread.jspa?messageID=340052
===
To unsubscribe, send email to lists...@java.sun.com and
Hi all,
Couldn't find a specific thread addressing this, so I'll post a new one. It may
just be that I am still naive about Java2D...
I have a simple window which renders stuff and draws a grid on top. I've
recently added code which renders labels for the grid lines; this works fine,
except
With setTransform(transform), you are completely replacing the existing
transform. Use [b]Graphics2D.transform(transform)[/b] instead, to preserve the
transformation values that have been previously set by the paint mechanism.
Piet
[Message sent by forum member 'pietblok' (pietblok)]