final JButton removeButton = new JButton("Remove");
final JButton removeButton = new JButton(L10N.getLocalString("dlg.remove_btn", "Remove"));
	private JPanel createFilePanel(String label, final JList list, 			final DefaultListModel listModel, final int fileSelectionMode, final FileFilter filter) {		JPanel myPanel = new JPanel(new GridBagLayout());		GridBagConstraints gbc = new GridBagConstraints();		gbc.gridx = 0;		gbc.gridy = 0;		gbc.gridheight = 1;		gbc.gridwidth = 2;		gbc.weightx = 1;		gbc.weighty = 0;		gbc.anchor = GridBagConstraints.WEST;		myPanel.add(new JLabel(label), gbc);		gbc.gridx = 0;		gbc.gridy = 1;		gbc.gridheight = 3;		gbc.gridwidth = 1;		gbc.weightx = 1;		gbc.weighty = 1;		gbc.fill = GridBagConstraints.BOTH;		myPanel.add(new JScrollPane(list), gbc);		list.setModel(listModel);		gbc.gridx = 1;		gbc.gridy = 1;		gbc.gridheight = 1;		gbc.gridwidth = 1;		gbc.weightx = 0;		gbc.weighty = 0;		gbc.fill = GridBagConstraints.HORIZONTAL;		final JButton addButton = new JButton("Add");		myPanel.add(addButton, gbc);		gbc.gridx = 1;		gbc.gridy = 2;		gbc.insets = new Insets(5, 0, 0, 0);		final JButton removeButton = new JButton("Remove");		myPanel.add(removeButton, gbc);		gbc.gridx = 1;		gbc.gridy = 3;		gbc.insets = new Insets(0, 0, 0, 0);		myPanel.add(Box.createGlue(), gbc);		myPanel.setBorder(border);		addButton.addActionListener(new ActionListener()		{			public void actionPerformed(ActionEvent evt)			{				chooser.setFileSelectionMode(fileSelectionMode);				chooser.setFileFilter(filter);				if (chooser.showOpenDialog(NewProjectWizard.this) == JFileChooser.APPROVE_OPTION)				{					listModel.addElement(chooser.getSelectedFile().getAbsolutePath());					projectChanged = true;				}			}		});		removeButton.addActionListener(new ActionListener()		{			public void actionPerformed(ActionEvent evt)			{				if (list.getSelectedValues().length > 0)					projectChanged = true;				for (Object i : list.getSelectedValues())					listModel.removeElement(i);			}		});		return myPanel;	}