My guess is that you are using the paintComponent(Graphics g) method, and you did not call super.paintComponent(g) as the first thing in your method.