cbProxyUse = new JCheckBox();
final JLabel lblProxyHost = new JLabel();
final JLabel lblProxyPort = new JLabel();
- fldProxyHost = new JTextField();
- fldProxyPort = new JTextField();
final JPanel pnlFile = new JPanel();
final JPanel pnlFileOutput = new JPanel();
final JLabel lblOutputDir = new JLabel();
final JPanel pnlComment = new JPanel();
final JPanel pnlCommentStandard = new JPanel();
final JLabel lblCommentSize = new JLabel();
- cbCommentSizeAuto = new JCheckBox();
final JLabel lblCommentSizeManual = new JLabel();
- fldCommentSizeManual = new JTextField();
final JLabel lblCommentMinSize = new JLabel();
- cbCommentMinSizeAuto = new JCheckBox();
- fldCommentMinSizeManual = new JTextField();
final JLabel lblCommentMinSizeManual = new JLabel();
final JLabel lblCommentDisplayMax = new JLabel();
- cbCommentDisplaySizeDefault = new JCheckBox();
final JLabel lblCommentDisplayMaxManual = new JLabel();
- fldCommentDisplaySizeManual = new JTextField();
final JPanel pnlCommentAdvanced = new JPanel();
final JLabel lblFontPath = new JLabel();
cbFontSizeArrangeDisable = new JCheckBox();
lblCommentSize.setText("再生時間に応じたコメントの取得数");
- cbCommentSizeAuto.setText("自動調整");
-
lblCommentSizeManual.setText("手動取得");
lblCommentMinSize.setText("1分当たりのコメント取得数");
- cbCommentMinSizeAuto.setText("自動調整");
-
lblCommentMinSizeManual.setText("手動取得");
lblCommentDisplayMax.setText("1画面に表示する最大コメント数");
- cbCommentDisplaySizeDefault.setText("標準(30)");
-
lblCommentDisplayMaxManual.setText("手動設定");
GroupLayout gl_pnlCommentStandard = new GroupLayout(pnlCommentStandard);
private final JTextField fldPassword;
// ネットワーク - プロキシ
private final JCheckBox cbProxyUse;
- private final JTextField fldProxyHost;
- private final JTextField fldProxyPort;
+ private final JTextField fldProxyHost = new JTextField();
+ private final NumberFormattedTextField fldProxyPort = new NumberFormattedTextField();
// ファイル
// ファイル - 動画
private final DownloadLocationPanel pnlFileVideo = new DownloadLocationPanel();
private final JTextField fldReplaceTo = new JTextField();
// コメント
// コメント
- private final JCheckBox cbCommentSizeAuto;
- private final JTextField fldCommentSizeManual;
- private final JCheckBox cbCommentMinSizeAuto;
- private final JTextField fldCommentMinSizeManual;
- private final JCheckBox cbCommentDisplaySizeDefault;
- private final JTextField fldCommentDisplaySizeManual;
+ private final JCheckBox cbCommentSizeAuto = new JCheckBox("自動調整");
+ private final NumberFormattedTextField fldCommentSizeManual = new NumberFormattedTextField();
+ private final JCheckBox cbCommentMinSizeAuto = new JCheckBox("自動調整");
+ private final NumberFormattedTextField fldCommentMinSizeManual = new NumberFormattedTextField();
+ private final JCheckBox cbCommentDisplaySizeDefault = new JCheckBox("標準(30)");
+ private final NumberFormattedTextField fldCommentDisplaySizeManual = new NumberFormattedTextField();
// コメント - 高度な設定
private final JTextField fldFontPath;
private final JTextField fldFontIndex;