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 = "停止";
videoIdLabel.setText("URL/ID");
wayBackLabel.setText("過去ログ");
videoIdField.setText("http://www.nicovideo.jp/watch/");
+ reduceCommentCheckBox.setText("旧仕様コメント数");
final GroupLayout oppLayout = new GroupLayout(opPanel);
opPanel.setLayout(oppLayout);
.addGroup(oppLayout.createParallelGroup()
.addComponent(videoIdField)
.addGroup(oppLayout.createSequentialGroup()
- .addComponent(wayBackField)))
+ .addComponent(wayBackField)
+ .addComponent(reduceCommentCheckBox)))
);
oppLayout.setVerticalGroup(oppLayout.createSequentialGroup()
.addComponent(videoIdField))
.addGroup(oppLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
.addComponent(wayBackLabel)
- .addComponent(wayBackField))
+ .addComponent(wayBackField)
+ .addComponent(reduceCommentCheckBox))
);
doButton.setText(DoButtonDefString);