addOptionPane(new Colors1OptionPane()); addOptionPane(new Colors2OptionPane());
addOptionPane(new ColorTableOptionPane());
	public Options(View view)	{		super(view,jEdit.getProperty("options.title"),true);		getContentPane().setLayout(new BorderLayout());		panes = new Vector();		tabs = new JTabbedPane();		addOptionPane(new GeneralOptionPane());		addOptionPane(new EditorOptionPane());		addOptionPane(new Colors1OptionPane());		addOptionPane(new Colors2OptionPane());		getContentPane().add("Center",tabs);		JPanel buttons = new JPanel();		ok = new JButton(jEdit.getProperty("options.ok"));		ok.addActionListener(this);		buttons.add(ok);		getRootPane().setDefaultButton(ok);		cancel = new JButton(jEdit.getProperty("options.cancel"));		cancel.addActionListener(this);		buttons.add(cancel);		getContentPane().add("South",buttons);		addKeyListener(this);		addWindowListener(this);		Dimension screen = getToolkit().getScreenSize();		pack();		setLocation((screen.width - getSize().width) / 2,			(screen.height - getSize().height) / 2);		setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);		show();	}