public void run(){ userInputEnabled=isEnabled; if(!isEnabled){ userCommentsText.setText(""); commentChanged = false;   designationComboBox.setSelectedIndex(0);
public void run() { updateDesignation(); BugSet bs=BugLoader.redoAnalysisKeepComments(curProject);  if (bs!=null) {  ((BugTreeModel) tree.getModel()).getOffListenerList(); ((BugTreeModel)tree.getModel()).changeSet(bs); curProject=BugLoader.getLoadedProject();
			public void run(){								userInputEnabled=isEnabled;				if(!isEnabled){					userCommentsText.setText("");					commentChanged = false;					//WARNING: this is hard coded in here, but needed					//so when not enabled shows default setting of designation					designationComboBox.setSelectedIndex(0);				}								userCommentsText.setEnabled(isEnabled);				prevCommentsComboBox.setEnabled(isEnabled);				designationComboBox.setEnabled(isEnabled);								if(isEnabled)					userCommentsText.setBackground(Color.WHITE);				else					userCommentsText.setBackground(userCommentsTextUnenabledColor);			}