Hello,

I have a JFrame which contain a JLayeredPane which also contains three layers 
all of which are JPanels. A background layer, a foreground layer, and a 
highlightable layer. The background layer draws onto bufferedimage before being 
painted. The foreground and highlight layers does direct drawing using the 
graphics(2D) object. Everything draws as I expect until I grab the window frame 
and move it around on the screen in such a way that the window frame extends 
beyond the edge of the screen (left,right,top,bottom). If the edge of the 
window extends beyond the left edge of the screen the foreground layer paints 
itself as though it's relative to edge of the the screen and not to the edge of 
the window which extends outside of the screen.

I just modified the foreground layer to draw onto a BufferedImage like the 
background layer and everything works fine. Not so when using ordinary graphics 
objects.

Thanks a Million,

-V
[Message sent by forum member 'ecrouse' (ecrouse)]

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

===========================================================================
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