Hello,
In my previous post I showed the values for m02
======================================
BEFORE the call to update(getGraphics())
AffineTransform[[1.0, 0.0, 150.0], [0.0, 1.0, 0.0]]
AFTER the call to update(getGraphics())
AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]
=====================================
which differed by 150 following the call to update graphics.
I just noticed that the JPanel whose paintComponent() gets called
with the above noted values for the AffineTransform is nested
inside another JPanel. Also nested inside the same JPanel
is another JPanel whose width is 150.
===============================================
|
Nested Panel A | Nested Panel B
<-- 150 --> | m02 initially 150 !
|
|
===============================================
So it looks like when my app is shown initially, before calling
Update(getGraphics()), Panel B is getting the AffineTransform
For its parent! i.e. m02 should be 0 but instead it is getting
150 which is its position within the container panel.
Any thoughts on how to fix this?
Thanks,
Ted Hill
===========================================================================
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".