colin shuker wrote:
super.paint(g) (and super.paintComponent(g)) clears all previous drawing, then starts all over. So
you should move your drawImage call to after the super.paint(g). Also, do
NOT dispose this Graphics object - it's still needed for drawing the rest of the GUI. The Swing API will dispose it when needed.
Finally, override paintComponent instead of paint like Michael has shown. Just keep the method protected.