(at least) two problems:

- you should always override paintComponent() instead of paint()
in a Swing app, unless there's a really good reason you need to
override paint() instead

- you're not erasing the background.  That's why the old objects
are there, because you never erased them...

Chet.
[Message sent by forum member 'chet' (chet)]

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

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