blinkCaret.getModel().setSelected(!"0".equals(jEdit.getProperty( "view.caretBlinkRate")));
blinkCaret.getModel().setSelected("on".equals(jEdit.getProperty( "view.caretBlinks")));
	public EditorOptionPane()	{		super("editor");		/* Modes */		modes = jEdit.getModes();		String[] modeNames = new String[modes.length];		for(int i = 0; i < modes.length; i++)		{			modeNames[i] = jEdit.getModeName(modes[i]);		}		defaultMode = new JComboBox(modeNames);		defaultMode.setSelectedItem(jEdit.getProperty(			"mode." + jEdit.getProperty("buffer.defaultMode")			+ ".name"));		addComponent(jEdit.getProperty("options.editor.defaultMode"),			defaultMode);		/* Font */		font = new JComboBox(getToolkit().getFontList());		font.setSelectedItem(jEdit.getProperty("view.font"));		addComponent(jEdit.getProperty("options.editor.font"),font);		/* Font style */		String[] styles = { jEdit.getProperty("options.editor.plain"),			jEdit.getProperty("options.editor.bold"),			jEdit.getProperty("options.editor.italic"),			jEdit.getProperty("options.editor.boldItalic") };		style = new JComboBox(styles);		try		{			style.setSelectedIndex(Integer.parseInt(jEdit				.getProperty("view.fontstyle")));		}		catch(NumberFormatException nf)		{		}		addComponent(jEdit.getProperty("options.editor.fontstyle"),			style);		/* Font size */		String[] sizes = { "9", "10", "12", "14", "18", "24" };		size = new JComboBox(sizes);		size.setEditable(true);		size.setSelectedItem(jEdit.getProperty("view.fontsize"));		addComponent(jEdit.getProperty("options.editor.fontsize"),size);		/* Tab size */		String[] tabSizes = { "8", "4" };		tabSize = new JComboBox(tabSizes);		tabSize.setEditable(true);		tabSize.setSelectedItem(jEdit.getProperty("buffer.tabSize"));		addComponent(jEdit.getProperty("options.editor.tabSize"),tabSize);		/* Line highlight */		lineHighlight = new JCheckBox(jEdit.getProperty("options.editor"			+ ".lineHighlight"));		lineHighlight.getModel().setSelected("on".equals(jEdit			.getProperty("view.lineHighlight")));		addComponent(lineHighlight);		/* Bracket highlight */		bracketHighlight = new JCheckBox(jEdit.getProperty("options.editor"			+ ".bracketHighlight"));		bracketHighlight.getModel().setSelected("on".equals(jEdit			.getProperty("view.bracketHighlight")));		addComponent(bracketHighlight);		/* Syntax colorizing */		syntax = new JCheckBox(jEdit.getProperty("options.editor"			+ ".syntax"));		syntax.getModel().setSelected("on".equals(jEdit.getProperty(			"buffer.syntax")));		addComponent(syntax);		/* Indent on tab */		indentOnTab = new JCheckBox(jEdit.getProperty("options.editor"			+ ".indentOnTab"));		indentOnTab.getModel().setSelected("on".equals(jEdit.getProperty(			"buffer.indentOnTab")));		addComponent(indentOnTab);		/* Indent on enter */		indentOnEnter = new JCheckBox(jEdit.getProperty("options.editor"			+ ".indentOnEnter"));		indentOnEnter.getModel().setSelected("on".equals(jEdit.getProperty(			"buffer.indentOnEnter")));		addComponent(indentOnEnter);		/* Soft tabs */		noTabs = new JCheckBox(jEdit.getProperty("options.editor"			+ ".noTabs"));		noTabs.getModel().setSelected("yes".equals(jEdit.getProperty(			"buffer.noTabs")));		addComponent(noTabs);		/* Blinking caret */		blinkCaret = new JCheckBox(jEdit.getProperty("options.editor"			+ ".blinkCaret"));		blinkCaret.getModel().setSelected(!"0".equals(jEdit.getProperty(			"view.caretBlinkRate")));		addComponent(blinkCaret);		/* Block caret */		blockCaret = new JCheckBox(jEdit.getProperty("options.editor"			+ ".blockCaret"));		blockCaret.getModel().setSelected("on".equals(jEdit.getProperty(			"view.blockCaret")));		addComponent(blockCaret);		/* Electric borders */		electricBorders = new JCheckBox(jEdit.getProperty("options.editor"			+ ".electricBorders"));		electricBorders.getModel().setSelected(!"0".equals(jEdit.getProperty(			"view.electricBorders")));		addComponent(electricBorders);	}