no more repaint for swing