static void importDo() {
        boolean success = false;
        String lastDir = null;
        File[] selectedFiles = null;

        if (!isWindows) {
            if (fileGetter == null) buildFileGetter();
            int wasGot = fileGetter.showOpenDialog(mainGUI.w);
            if (wasGot == JFileChooser.APPROVE_OPTION) {
                success = true;
                lastDir = fileGetter.getCurrentDirectory().toString();
                selectedFiles = fileGetter.getSelectedFiles();
            }
        } else {
            if (winFileGetter == null) buildWinFileGetter();
            winFileGetter.show();
            String[] filenames = winFileGetter.getFiles();
            String foldername = winFileGetter.getDirectory();
            if (filenames != null) {
                success = true;
                selectedFiles = new File[filenames.length];
                for (int i = 0; i < filenames.length; i++) {
                    selectedFiles[i] = new File(foldername,filenames[i]);
                }
                lastDir=foldername;
            }
            //winFileGetter.dispose();
        }

        if (success) {
            if (lastDir != null) Settings.setSettingAndSave("lastOpenDirectory", lastDir);
            if (selectedFiles != null) mainGUI.getState().importImages(selectedFiles);
        }


    }