OSDN Git Service

不要クラス削除
[coroid/inqubus.git] / frontend / src / saccubus / Saccubus.java
diff --git a/frontend/src/saccubus/Saccubus.java b/frontend/src/saccubus/Saccubus.java
deleted file mode 100644 (file)
index e26b2f9..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-package saccubus;
-
-import java.io.IOException;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-import javax.swing.SwingUtilities;
-import javax.swing.UIManager;
-
-import yukihane.inqubus.saccubus.prompt.Prompt;
-import yukihane.inqubus.gui.MainFrame;
-
-/**
- * <p>
- * タイトル: さきゅばす
- * </p>
- *
- * <p>
- * 説明: ニコニコ動画の動画をコメントつきで保存
- * </p>
- *
- * <p>
- * 著作権: Copyright (c) 2007 PSI
- * </p>
- *
- * <p>
- * 会社名:
- * </p>
- *
- * @author 未入力
- * @version 1.0
- */
-public class Saccubus {
-
-    private static final Logger logger = Logger.getLogger(Saccubus.class.getName());
-       boolean packFrame = false;
-
-       /**
-        * アプリケーションの構築と表示。
-        */
-       public Saccubus() {
-               // メインフレームの準備
-               MainFrame frame = new MainFrame();
-               // validate() はサイズを調整する
-               // pack() は有効なサイズ情報をレイアウトなどから取得する
-               if (packFrame) {
-                       frame.pack();
-               } else {
-                       frame.validate();
-               }
-
-               // ウィンドウを中央に配置
-               frame.setLocationByPlatform(true);
-
-               // スプラッシュは隠す
-               // メインフレーム表示
-               frame.setVisible(true);
-       }
-
-       /**
-        * アプリケーションエントリポイント。
-        *
-        * @param args
-        *            String[]
-        */
-       public static void main(String[] args) throws Exception {
-               //引数が有る場合はCUIで起動
-               if (args.length > 0) {
-            Prompt.main(args);
-                       return;
-               }
-               //引数が無い場合はGUIで起動
-               SwingUtilities.invokeLater(new Runnable() {
-                       public void run() {
-                               try {
-                                       UIManager.setLookAndFeel(UIManager
-                                                       .getSystemLookAndFeelClassName());
-                               } catch (Exception exception) {
-                                       logger.log(Level.SEVERE, null, exception);
-                               }
-
-                               new Saccubus();
-                       }
-               });
-       }
-}