public EnvironmentLauncher() {
        initComponents();
        Path currentRelative = Paths.get("");
        File directory = new File(currentRelative.toFile().getAbsolutePath());
        File[] filelist = directory.listFiles();
        ArrayList<String> items = new ArrayList<>();
        for(int i = 0; i < filelist.length; i++){
            File file = filelist[i];
            if(file.isDirectory()){
                File[] dirfiles = file.listFiles();
                boolean homedir = false;
                for(File subf: dirfiles){
                    if(subf.getName().equals("environment.jpg")) homedir = true;
                }
                if(homedir) items.add(file.getName());
            }
        }   
        Object[] strings = items.toArray();
        environmentlist.setListData(strings);
    }