file names to lowercase and replace blank spaces by undercore
@@ -102,7 +102,7 @@ public abstract class SGDKElement {
protected abstract Icon calculateIcon() throws TranscoderException, URISyntaxException;
public static String toString(String path) {
- return path.substring(path.lastIndexOf(File.separator)+1);
+ return path.substring(path.lastIndexOf(File.separator)+1).replaceAll(" ", "_").toLowerCase();
}
}
