public void actionPerformed(ActionEvent e)
	{
		if (!(e.getSource() instanceof JButton))
			return;
		JButton btn = (JButton) e.getSource();
		if ("OK".equals(btn.getText()))
		{
			File file = fileChooser.getSelectedFile();
			// data = (file == null || file.isDirectory()) ? "" : file.getAbsolutePath();
			data = (file == null) ? "" : file.getAbsolutePath();
			cancel();
		}
		else if ("Cancel".equals(btn.getText()))
			cancel();
		else if ("Annuler".equals(btn.getText()))
			cancel();
	}