synchronized void repaintContentPanel() {
   contentpanel.repaint();
 }
 protected synchronized void stopProgressRepaint() {
   progressWorks = false;
   progress.setIndeterminate(false);
   contentpanel.repaint();
 }