@Override public void paint(Graphics g) { graphics = SwingGraphics.fromGraphics(g, this, graphics); super.paint(g); graphics.clear(); }