toolbar.add(lookupButton);
mBar.add(lookupButton);
	public void createToolbar() {		toolbar = new JToolBar();		toolbar.setFloatable(false);		fetchButton = new JButton();		fetchButton.setToolTipText(jfritz.getMessages().getString("fetchlist"));		fetchButton.setActionCommand("fetchList");		fetchButton.addActionListener(this);		fetchButton.setIcon(getImage("fetch.png"));		fetchButton.setFocusPainted(false);		toolbar.add(fetchButton);		taskButton = new JToggleButton();		taskButton.setToolTipText(jfritz.getMessages().getString("fetchtask"));		taskButton.setActionCommand("fetchTask");		taskButton.addActionListener(this);		taskButton.setIcon(getImage("clock.png"));		toolbar.add(taskButton);		lookupButton = new JButton();		lookupButton.setToolTipText(jfritz.getMessages().getString(				"reverse_lookup"));		lookupButton.setActionCommand("reverselookup");		lookupButton.addActionListener(this);		lookupButton.setIcon(getImage("reverselookup.png"));		toolbar.add(lookupButton);		JButton button = new JButton();		button.setActionCommand("phonebook");		button.addActionListener(this);		button.setIcon(getImage("phonebook.png"));		button.setToolTipText(jfritz.getMessages().getString("phonebook"));		button.setEnabled(JFritz.DEVEL_VERSION);		toolbar.add(button);		button = new JButton();		button.setActionCommand("quickdial");		button.addActionListener(this);		button.setIcon(getImage("quickdial.png"));		button.setToolTipText(jfritz.getMessages().getString("quickdial"));		button.setEnabled(JFritz.DEVEL_VERSION);		toolbar.add(button);		toolbar.addSeparator();		button = new JButton();		button.setActionCommand("export_csv");		button.addActionListener(this);		button.setIcon(getImage("csv.png"));		button.setToolTipText(jfritz.getMessages().getString("export_csv"));		toolbar.add(button);		vcardButton = new JButton();		vcardButton.setActionCommand("export_vcard");		vcardButton.addActionListener(this);		vcardButton.setIcon(getImage("vcard.png"));		vcardButton.setToolTipText(jfritz.getMessages().getString(				"export_vcard"));		toolbar.add(vcardButton);		/*		 * button = new JButton(); button.setActionCommand("export_excel");		 * button.addActionListener(this); button.setIcon(new		 * ImageIcon(Toolkit.getDefaultToolkit().getImage(		 * getClass().getResource(		 * "/de/moonflower/jfritz/resources/images/excel.png"))));		 * button.setToolTipText(messages.getString("export_excel"));		 * button.setEnabled(IS_RELEASE); toolbar.add(button);		 * 		 * button = new JButton(); button.setActionCommand("export_openoffice");		 * button.addActionListener(this); button.setIcon(new		 * ImageIcon(Toolkit.getDefaultToolkit().getImage(		 * getClass().getResource(		 * "/de/moonflower/jfritz/resources/images/excel.png"))));		 * button.setToolTipText(messages.getString("export_excel"));		 * button.setEnabled(true); toolbar.add(button);		 * 		 * button.setIcon(new		 * ImageIcon(Toolkit.getDefaultToolkit().getImage(getClass().getResource(		 * "/de/moonflower/jfritz/resources/images/openoffice.png"))));		 * button.setToolTipText(messages.getString("export_openoffice"));		 * button.setEnabled(IS_RELEASE); toolbar.add(button);		 */		button = new JButton();		button.setActionCommand("help");		button.addActionListener(this);		button.setIcon(getImage("help.png"));		button.setToolTipText(jfritz.getMessages().getString("help_menu"));		button.setEnabled(JFritz.DEVEL_VERSION);		toolbar.add(button);		toolbar.addSeparator();		button = new JButton();		button.setActionCommand("config");		button.addActionListener(this);		button.setIcon(getImage("config.png"));		button.setToolTipText(jfritz.getMessages().getString("config"));		toolbar.add(button);		toolbar.addSeparator();		// FILTER BUTTONS		JToggleButton tb = new JToggleButton(getImage("callin_grey.png"), true);		tb.setSelectedIcon(getImage("callin.png"));		tb.setActionCommand("filter_callin");		tb.addActionListener(this);		tb.setToolTipText(jfritz.getMessages().getString("filter_callin"));		tb.setSelected(!JFritzUtils.parseBoolean(properties.getProperty(				"filter.callin", "false")));		toolbar.add(tb);		tb = new JToggleButton(getImage("callinfailed_grey.png"), true);		tb.setSelectedIcon(getImage("callinfailed.png"));		tb.setActionCommand("filter_callinfailed");		tb.addActionListener(this);		tb				.setToolTipText(jfritz.getMessages().getString(						"filter_callinfailed"));		tb.setSelected(!JFritzUtils.parseBoolean(properties.getProperty(				"filter.callinfailed", "false")));		toolbar.add(tb);		tb = new JToggleButton(getImage("callout_grey.png"), true);		tb.setSelectedIcon(getImage("callout.png"));		tb.setActionCommand("filter_callout");		tb.addActionListener(this);		tb.setToolTipText(jfritz.getMessages().getString("filter_callout"));		tb.setSelected(!JFritzUtils.parseBoolean(properties.getProperty(				"filter.callout", "false")));		toolbar.add(tb);		tb = new JToggleButton(getImage("phone_grey.png"), true);		tb.setSelectedIcon(getImage("phone.png"));		tb.setActionCommand("filter_number");		tb.addActionListener(this);		tb.setToolTipText(jfritz.getMessages().getString("filter_number"));		tb.setSelected(!JFritzUtils.parseBoolean(properties.getProperty(				"filter.number", "false")));		toolbar.add(tb);		JPanel toolPanel = new JPanel(new BorderLayout());		toolPanel.add(toolbar, BorderLayout.NORTH);		JPanel fpanel = new JPanel();		fpanel.setLayout(new BoxLayout(fpanel, BoxLayout.LINE_AXIS));		fpanel.add(new JLabel("Filter: ")); // FIXME		JTextField search = new JTextField(properties.getProperty("filter.search",""), 10);		search.addCaretListener(new CaretListener() {			String filter = "";			public void caretUpdate(CaretEvent e) {				JTextField search = (JTextField) e.getSource();				if (!filter.equals(search.getText())) {					filter = search.getText();					properties.setProperty("filter.search", filter);					jfritz.getCallerlist().updateFilter();					callertable.tableChanged(callertableevent);				}			}		});		fpanel.add(search);		toolPanel.add(fpanel, BorderLayout.CENTER);		getContentPane().add(toolPanel, BorderLayout.NORTH);		//		getContentPane().add(toolbar, BorderLayout.NORTH);		//		getContentPane().add(search, BorderLayout.NORTH);	}