jb.addActionListener(
new ActionListener(){
public void actionPerformed(ActionEvent arg0) {
File f = new File(fsc.tf.getText());
if (f.exists()) {
Importer imp = (Importer)parent.importPanel.importers.getSelectedItem();
try {
parent.importFile(imp, f);
} catch (IOException e) {
JOptionPane.showMessageDialog(parent.frame, e.getMessage()+": "+f.getAbsolutePath());
}