cbFontSizeArrangeDisable = new JCheckBox();
cbCommentOpaque = new JCheckBox();
fldFontPath = new JTextField();
- btnFontPath = new JButton();
final JLabel lblFontIndex = new JLabel();
final JLabel lblFontShadow = new JLabel();
fldFontIndex = new JTextField();
final JLabel lblFfmpegDllPath = new JLabel();
fldFfmpegPath = new JTextField();
fldFfmpegDllPath = new JTextField();
- btnFfmpegPath = new JButton();
- btnFfmpegDllPath = new JButton();
final JPanel pnlNgSetting = new JPanel();
final JPanel pnlSearch = new JPanel();
final JPanel pnlSearchCache = new JPanel();
cbCommentOpaque.setText("コメント透明化を行わない");
- btnFontPath.setText("...");
+ final JButton btnFontPath = new JButton("...");
+ btnFontPath.addActionListener(
+ new FileChooseAction(ConfigDialog.this, JFileChooser.FILES_ONLY, fldFontPath));
lblFontIndex.setText("フォント番号");
lblFfmpegDllPath.setText("拡張ライブラリ");
- btnFfmpegPath.setText("...");
+ final JButton btnFfmpegPath = new JButton("...");
+ btnFfmpegPath.addActionListener(
+ new FileChooseAction(ConfigDialog.this, JFileChooser.FILES_ONLY, fldFfmpegPath));
+
+ final JButton btnFfmpegDllPath = new JButton("...");
+ btnFfmpegDllPath.addActionListener(
+ new FileChooseAction(ConfigDialog.this, JFileChooser.FILES_ONLY, fldFfmpegDllPath));
- btnFfmpegDllPath.setText("...");
GroupLayout gl_jPanel10 = new GroupLayout(jPanel10);
jPanel10.setLayout(gl_jPanel10);
private final JTextField fldCommentDisplaySizeManual;
// コメント - 高度な設定
private final JTextField fldFontPath;
- private final JButton btnFontPath;
private final JTextField fldFontIndex;
private final JComboBox<String> cmbFontShadow = new JComboBox<>();
private final JCheckBox cbFontSizeArrangeDisable;
// ffmpeg
// ffmpeg - ファイルパス
private final JTextField fldFfmpegPath;
- private final JButton btnFfmpegPath;
private final JTextField fldFfmpegDllPath;
- private final JButton btnFfmpegDllPath;
// ffmpeg - ffmpegパラメータ
private final FfmpegParamPanel pnlFfmpegParam = new FfmpegParamPanel();
// NG設定