editor.loadMap(args[0]);
String toLoad = args[0]; if(!toLoad.startsWith("/") && !toLoad.startsWith("./")) { toLoad="./"+toLoad; } editor.loadMap(toLoad);
    public static void main(String[] args) {        MapEditor editor = new MapEditor();        if (args.length > 0) {            editor.loadMap(args[0]);        }    }