panel.updateUI() works better