You can't rely on "persisting" the changes that you do to the Graphics object. 
Moreover, it's a very dangerous practice to change the state of Graphics and 
not restore it when your painting method is done, since this Graphics may (or 
may not) be reused in other places during the painting process.

Why not set this transformation every time on repaint (on a copy Graphics)?
[Message sent by forum member 'kirillcool' (kirillcool)]

http://forums.java.net/jive/thread.jspa?messageID=227745

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to