boolean selected = false;
fileChooser = new JFileChooser();
fileChooser.setMultiSelectionEnabled(false);
ExampleFileFilter filter = new ExampleFileFilter();
if (action.equals("IMPORT"))
fileChooser.setCurrentDirectory(new File("./cix/receive/"));
else if (action.equals("EXPORT"))
fileChooser.setCurrentDirectory(new File("./cix/send/"));
filter.addExtension("cix");
filter.setDescription("CIX Files");
fileChooser.setFileFilter(filter);
String str = action + "." + "CIXFILE";
int option = fileChooser.showDialog(getContainer(), TxtManager.getTxt(str));
if (option == JFileChooser.APPROVE_OPTION) {
selected = true;