public void lockUI(ProcessInfo pi){
  setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
  setEnabled(false);
}

public void lockUI ( ProcessInfo pi ) { setCursor ( Cursor . getPredefinedCursor ( Cursor . WAIT_CURSOR ) ) ; setEnabled ( false ) ; }
lock user interface . called from the worker before processing
