We are using JPanes in a JTabbedPane for a web interface application.
When switching to a tab in the JTabbedPane that already has Graphics2D components drawn on a JPane (lines, etc.), the drawn information disappears.
We currently have the paint() method overrided in the JPane where we are...