current.noTabs = noTabs.getModel().isSelected(); current.indentOnEnter = indentOnEnter.getModel().isSelected(); current.indentOnTab = indentOnTab.getModel().isSelected(); current.syntax = syntax.getModel().isSelected();
current.noTabs = noTabs.isSelected(); current.indentOnEnter = indentOnEnter.isSelected(); current.indentOnTab = indentOnTab.isSelected(); current.syntax = syntax.isSelected();
	private void saveMode()	{		current.useDefaults = useDefaults.getModel().isSelected();		current.filenameGlob = filenameGlob.getText();		current.firstlineGlob = firstlineGlob.getText();		current.tabSize = (String)tabSize.getSelectedItem();		current.commentStart = commentStart.getText();		current.commentEnd = commentEnd.getText();		current.boxComment = boxComment.getText();		current.blockComment = blockComment.getText();		current.noWordSep = noWordSep.getText();		current.noTabs = noTabs.getModel().isSelected();		current.indentOnEnter = indentOnEnter.getModel().isSelected();		current.indentOnTab = indentOnTab.getModel().isSelected();		current.syntax = syntax.getModel().isSelected();	}