Ok so i got rid of the paint() and replaced with paintComponent(), i also got rid of the update(). The reason i did not double buffer the grid is because the grid will never stay the same size. The graph will update every 15 mins and they could have went deeper or swallower, changing the grid size after 15 mins.
But still i get the same result. When i move the rectangle around, the box leaves a trail and on a side note, i am giving the graph right now, random numbers to graph and it keeps creating new graph lines also. So i have a long trail of the box and the graph keeps sqeezeing in another line to graph in the grid. Thanks for the help again, its appreciated. [Message sent by forum member 'ricorx7' (ricorx7)] http://forums.java.net/jive/thread.jspa?messageID=208265 =========================================================================== 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".