replaceCBox.addItem(null);
    private void init() {		JPanel buttonPanel = new JPanel();		JPanel closePanel = new JPanel();		closePanel.setLayout(new BorderLayout());		JPanel scopePanel = new JPanel();		JPanel searchPanel = new JPanel();		VerticalStaticJPanel mainPanel = new VerticalStaticJPanel();		mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));				JButton bFind = new JButton("Find");		bFind.addActionListener(this);		JButton bFindNext = new JButton("Find All");		bFindNext.addActionListener(this);		bReplace = new JButton("Replace");		bReplace.addActionListener(this);		bReplaceAll = new JButton("Replace All");		bReplaceAll.addActionListener(this);		JButton bCancel = new JButton("Cancel");		bCancel.addActionListener(this);				/* SEARCH PANEL */		searchPanel.setBorder(BorderFactory.createEtchedBorder());		searchPanel.setLayout(new GridBagLayout());		GridBagConstraints c = new GridBagConstraints();		c.fill = GridBagConstraints.BOTH;		c.weightx = 2; c.weighty = 1;		searchPanel.add(new JLabel("Find:"),c);		c.gridx=1;		searchCBox = new JComboBox();		searchCBox.setRenderer(new MultisetListRenderer(myMap, .5));		//searchCBox.setSelectedIndex(1);		searchCBox.setEditable(false);		searchPanel.add(searchCBox,c);		c.gridy=1;		c.gridx=0;		searchPanel.add(new JLabel("Replace:"),c);		c.gridx=1;		replaceCBox = new JComboBox();		replaceCBox.setRenderer(new MultisetListRenderer(myMap, .5));		//searchCBox.setSelectedIndex(1);		replaceCBox.setEditable(false);		searchPanel.add(replaceCBox,c);		queryTiles(searchCBox);		replaceCBox.addItem(null);		queryTiles(replaceCBox);		mainPanel.add(searchPanel, BorderLayout.NORTH);				/* SCOPE PANEL */		scopePanel.setBorder(BorderFactory.createCompoundBorder(							BorderFactory.createTitledBorder("Scope"),							BorderFactory.createEmptyBorder(0, 5, 5, 5)));				mainPanel.add(scopePanel);		mainPanel.add(Box.createRigidArea(new Dimension(0, 5)));				/* BUTTONS PANEL */		buttonPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 0));		buttonPanel.setLayout(new GridLayout(2,2,0,0));		buttonPanel.add(bFind);		buttonPanel.add(bFindNext);		buttonPanel.add(bReplace);		buttonPanel.add(bReplaceAll);		closePanel.add(bCancel, BorderLayout.EAST);		mainPanel.add(buttonPanel);		mainPanel.add(closePanel);				getContentPane().add(mainPanel);		getRootPane().setDefaultButton(bFind);		pack();	}