jProgress.setMinimum(minValue); jProgress.setValue(minValue); jProgress.setMaximum(maxValue);  try { jProgress.setIndeterminate(undetermined); } catch (Throwable t) {   if (undetermined) { data[level].undeterminedThread = new UndeterminedThread(this, level); data[level].undeterminedThread.start(); } }  jStatus.setText(message);
resetUIState();
	public void startProgress(int level, int minValue, int maxValue, String message, boolean undetermined) {		data[level].minValue = minValue;		data[level].maxValue = maxValue;		data[level].value = 0;		data[level].message = message;		data[level].undetermined = undetermined;		data[level].active = true;		if (raiseLevel(level)) {			jProgress.setMinimum(minValue);			jProgress.setValue(minValue);			jProgress.setMaximum(maxValue);			try {				jProgress.setIndeterminate(undetermined);			} catch (Throwable t) {				// we end up here if the method is not implemented and we don't have indeterminate progress				// bars: come up with our own...				if (undetermined) {					data[level].undeterminedThread = new UndeterminedThread(this, level);					data[level].undeterminedThread.start();				}			}			jStatus.setText(message);		}	}