add contentPane.repaint();