OSDN Git Service

旧仕様でコメント数取得を指示するためのチェックボックス
[coroid/inqubus.git] / frontend / src / saccubus / MainFrame.java
index 4007c56..d47db1b 100644 (file)
@@ -106,6 +106,7 @@ public class MainFrame extends JFrame {
     private JTextField videoIdField = new JTextField();
     private JLabel wayBackLabel = new JLabel();
     private JTextField wayBackField = new JTextField();
+    private JCheckBox reduceCommentCheckBox = new JCheckBox();
     private JButton doButton = new JButton();
     public static final String DoButtonDefString = "変換";
     public static final String DoButtonStopString = "停止";
@@ -183,6 +184,7 @@ public class MainFrame extends JFrame {
         videoIdLabel.setText("URL/ID");
         wayBackLabel.setText("過去ログ");
         videoIdField.setText("http://www.nicovideo.jp/watch/");
+        reduceCommentCheckBox.setText("旧仕様コメント数");
 
         final GroupLayout oppLayout = new GroupLayout(opPanel);
         opPanel.setLayout(oppLayout);
@@ -194,7 +196,8 @@ public class MainFrame extends JFrame {
                 .addGroup(oppLayout.createParallelGroup()
                     .addComponent(videoIdField)
                     .addGroup(oppLayout.createSequentialGroup()
-                        .addComponent(wayBackField)))
+                        .addComponent(wayBackField)
+                        .addComponent(reduceCommentCheckBox)))
                 );
 
         oppLayout.setVerticalGroup(oppLayout.createSequentialGroup()
@@ -203,7 +206,8 @@ public class MainFrame extends JFrame {
                         .addComponent(videoIdField))
                     .addGroup(oppLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                         .addComponent(wayBackLabel)
-                        .addComponent(wayBackField))
+                        .addComponent(wayBackField)
+                        .addComponent(reduceCommentCheckBox))
                 );
 
         doButton.setText(DoButtonDefString);