@@ -0,0 +1,299 @@
+package org.bdgp.MMSlide;%0A%0Apublic class Main %7B%0A    private static boolean commandLineMode = false;%0A    %0A    public static void main(String%5B%5D args) %7B%0A        commandLineMode = true;%0A        System.exit(0);%0A    %7D%0A    public static boolean isCommandLineMode() %7B%0A       return commandLineMode; %0A    %7D%0A%7D%0A

add main function