X-Git-Url: http://git.sourceforge.jp/view?p=coroid%2Finqubus.git;a=blobdiff_plain;f=frontend%2Fsrc%2Fsaccubus%2FSaccubus.java;h=4310f3ea18e250b8b0591602a6e720455019c379;hp=53c88d924b1f2c3fabb9acd3675d5121d98dc37f;hb=be55e99c6a16a93d1c823bb11d5f439646e7706b;hpb=7bd4c78be02a2a75892e6bb25edc0a7f1cd8cf8a diff --git a/frontend/src/saccubus/Saccubus.java b/frontend/src/saccubus/Saccubus.java index 53c88d9..4310f3e 100644 --- a/frontend/src/saccubus/Saccubus.java +++ b/frontend/src/saccubus/Saccubus.java @@ -5,66 +5,66 @@ import javax.swing.SwingUtilities; import javax.swing.UIManager; import saccubus.prompt.Prompt; +import yukihane.inqubus.gui.MainFrame; /** *
- * ^Cg: ³«ãη + * ã¿ã¤ãã«: ããã ã°ã *
- * + * *- * à¾: jRjR®æÌ®æðRg«ÅÛ¶ + * 説æ: ãã³ãã³åç»ã®åç»ãã³ã¡ã³ãã¤ãã§ä¿å *
- * + * *- * ì : Copyright (c) 2007 PSI + * èä½æ¨©: Copyright (c) 2007 PSI *
- * + * *- * ïм: + * ä¼ç¤¾å: *
- * - * @author ¢üÍ + * + * @author æªå ¥å * @version 1.0 */ public class Saccubus { boolean packFrame = false; /** - * AvP[VÌ\zÆ\¦B + * ã¢ããªã±ã¼ã·ã§ã³ã®æ§ç¯ã¨è¡¨ç¤ºã */ public Saccubus() { - // Ct[Ìõ + // ã¡ã¤ã³ãã¬ã¼ã ã®æºå MainFrame frame = new MainFrame(); - // validate() ÍTCYð²®·é - // pack() ÍLøÈTCYîñðCAEgÈÇ©çæ¾·é + // validate() ã¯ãµã¤ãºã調æ´ãã + // pack() ã¯æå¹ãªãµã¤ãºæ å ±ãã¬ã¤ã¢ã¦ããªã©ããåå¾ãã if (packFrame) { frame.pack(); } else { frame.validate(); } - // EBhEðÉzu + // ã¦ã£ã³ãã¦ãä¸å¤®ã«é ç½® frame.setLocationByPlatform(true); - // XvbV ÍB· - // Ct[\¦ + // ã¹ãã©ãã·ã¥ã¯é ã + // ã¡ã¤ã³ãã¬ã¼ã 表示 frame.setVisible(true); } /** - * AvP[VGg|CgB - * + * ã¢ããªã±ã¼ã·ã§ã³ã¨ã³ããªãã¤ã³ãã + * * @param args * String[] */ public static void main(String[] args) throws IOException { - //øªLéêÍCUIÅN® + //å¼æ°ãæãå ´åã¯CUIã§èµ·å if (args.length > 0) { - Prompt prompt = new Prompt(); - prompt.main(args); + Prompt.main(args); return; } - //øª³¢êÍGUIÅN® + //å¼æ°ãç¡ãå ´åã¯GUIã§èµ·å SwingUtilities.invokeLater(new Runnable() { public void run() { try {