OSDN Git Service

r104, 107辺りの変更.
authoryuki <yuki@c066991c-cf13-ec4a-a49a-846e61667af5>
Sat, 2 May 2009 11:40:08 +0000 (11:40 +0000)
committeryuki <yuki@c066991c-cf13-ec4a-a49a-846e61667af5>
Sat, 2 May 2009 11:40:08 +0000 (11:40 +0000)
引数がある場合はCUI起動する.

git-svn-id: http://192.168.11.7/svn/saccubus/trunk@21 c066991c-cf13-ec4a-a49a-846e61667af5

frontend/src/saccubus/Saccubus.java

index 69823c6..dabf171 100644 (file)
@@ -55,10 +55,13 @@ public class Saccubus {
         *            String[]
         */
        public static void main(String[] args) {
+               //\88ø\90\94\82ª\97L\82é\8fê\8d\87\82ÍCUI\82Å\8bN\93®
                if (args.length > 0) {
-                       Prompt.main(args);
+                       Prompt prompt = new Prompt();
+                       prompt.main(args);
                        return;
                }
+               //\88ø\90\94\82ª\96³\82¢\8fê\8d\87\82ÍGUI\82Å\8bN\93®
                SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                                try {