I have a problem. I have a JPanel which has some JAVA2D graphics on it.
I placed this panel into a JScrollPane.
If I scroll the JScrollpane, the Jpanel is not repainted automatically. The
Java2D graphics on the JPanel gets smeared.
Any ideas how I can overcome this problem? I thougt that, maybe there is a
listener, which listens to this scrolling action. But I couldn't find anything.