noTabs.getModel().setSelected(current.noTabs); indentOnTab.getModel().setSelected(current.indentOnTab); indentOnEnter.getModel().setSelected(current.indentOnEnter); syntax.getModel().setSelected(current.syntax);
noTabs.setSelected(current.noTabs); indentOnTab.setSelected(current.indentOnTab); indentOnEnter.setSelected(current.indentOnEnter); syntax.setSelected(current.syntax);
	private void selectMode()	{		current = modeProps[mode.getSelectedIndex()];		current.edited = true;		current.mode.loadIfNecessary();		useDefaults.getModel().setSelected(current.useDefaults);		filenameGlob.setText(current.filenameGlob);		firstlineGlob.setText(current.firstlineGlob);		tabSize.setSelectedItem(current.tabSize);		commentStart.setText(current.commentStart);		commentEnd.setText(current.commentEnd);		boxComment.setText(current.boxComment);		blockComment.setText(current.blockComment);		noWordSep.setText(current.noWordSep);		noTabs.getModel().setSelected(current.noTabs);		indentOnTab.getModel().setSelected(current.indentOnTab);		indentOnEnter.getModel().setSelected(current.indentOnEnter);		syntax.getModel().setSelected(current.syntax);		updateEnabled();	}