I was wondering if anyone has ever had the problem that JPanel is
cleared when repaint is called. To my understanding when repaint is
invoked first the JPanel will be clear using the background color then
the paint method is called. Is this correct? I have a panel that I am
painting. When I call repaint nothing ever gets cleared.