add(reloadMenuItem);
}
private boolean scanAndLoad(File folder, JMenu menu) {
File[] files = folder.listFiles();
BiomeColorProfile profile;
boolean foundProfiles = false;
for (int i = 0; i < files.length; i++) {
if (files[i].isFile()) {
if ((profile = BiomeColorProfile.createFromFile(files[i])) != null) {
JCheckBoxMenuItem menuItem = new JCheckBoxMenuItem(profile.name);