}
}
+ /**
+ * メイン画面最上部(ID/URL, 過去ログ, 変換ボタン)のパネルを初期化します.
+ */
private void initVideoInfoPanel() {
videoIdLabel.setText("URL/ID");
doButton.setText(DoButtonDefString);
doButton.addActionListener(new MainFrame_DoButton_actionAdapter(this));
- videoInfoPanel.setLayout(gridBagLayout1);
- videoInfoPanel.add(opPanel, new GridBagConstraints(0, 0, 1, 1, 1.0,
- 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH,
- new Insets(0, 0, 0, 0), 0, 0));
+ final GroupLayout vipLayout = new GroupLayout(videoInfoPanel);
+ videoInfoPanel.setLayout(vipLayout);
- final GridBagConstraints gridBagConstraints71 = new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
- GridBagConstraints.CENTER,
- GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 6);
- gridBagConstraints71.fill = GridBagConstraints.BOTH;
- gridBagConstraints71.ipady = 0;
+ vipLayout.setHorizontalGroup(vipLayout.createSequentialGroup()
+ .addComponent(opPanel).addComponent(doButton));
- videoInfoPanel.add(doButton, gridBagConstraints71);
+ vipLayout.setVerticalGroup(vipLayout.createParallelGroup()
+ .addComponent(opPanel).addComponent(doButton, 10, 20, 50));
}
/**
// FFmpegの設定 ここまで
private JLabel FontIndexLabel = new JLabel();
private JTextField fontIndexField = new JTextField();
- private GridBagLayout gridBagLayout1 = new GridBagLayout();
private JPanel BasicInfoTabPanel = new JPanel();
private GridBagLayout gridBagLayout12 = new GridBagLayout();
private JPanel ConvertingSettingPanel = null;