Just a repaint issue from the looks of it. Several fixes, but the cheapest and easiest one would be to add
if (this.getParent() != null)
To the end of the mouseMoved() method.
It may be easier to simply move everything into a single panel. This way you can cheat and won't need to worry about a double buffer.