What are you trying to do, exactly? What are Panel1, 2, and 3?
Unless you post an SSCCE that demonstrates what you're actually doing, we can only guess at what's happening.
NEVER override the update() method when using Swing.
User proper naming conventions. Variable should NOT start with an upper cased character.
I second the recommendations above that you create and post an SSCCE (please read the link), to allow us to fully understand your problem and better be able to help you.