OSDN Git Service

merge.
[coroid/inqubus.git] / frontend / src / saccubus / SavePanel.java
1 /*
2  * To change this template, choose Tools | Templates
3  * and open the template in the editor.
4  */
5
6 /*
7  * SavePanel.java
8  *
9  * Created on 2009/12/04, 21:06:09
10  */
11 package saccubus;
12
13 import java.awt.GridLayout;
14 import javax.swing.JButton;
15 import javax.swing.JCheckBox;
16 import javax.swing.JRadioButton;
17 import javax.swing.JTextField;
18
19 /**
20  *
21  * @author yuki
22  */
23 public class SavePanel extends javax.swing.JPanel {
24
25     private final VideoSaveInfoPanel videoSaveInfoPanel = new VideoSaveInfoPanel();
26
27     /** Creates new form SavePanel */
28     public SavePanel() {
29         initComponents();
30         inputVideoTab.setLayout(new GridLayout());
31         inputVideoTab.add(videoSaveInfoPanel);
32     }
33
34     /** This method is called from within the constructor to
35      * initialize the form.
36      * WARNING: Do NOT modify this code. The content of this method is
37      * always regenerated by the Form Editor.
38      */
39     @SuppressWarnings("unchecked")
40     // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
41     private void initComponents() {
42
43         inputCommentSaveGroup = new javax.swing.ButtonGroup();
44         outputVideoSaveGroup = new javax.swing.ButtonGroup();
45         inputTcommentSaveGroup = new javax.swing.ButtonGroup();
46         jTabbedPane1 = new javax.swing.JTabbedPane();
47         inputVideoTab = new javax.swing.JPanel();
48         inputCommentTab = new javax.swing.JPanel();
49         commentSaveInfoPanel = new javax.swing.JPanel();
50         savingCommentCheckBox = new javax.swing.JCheckBox();
51         jPanel7 = new javax.swing.JPanel();
52         delCommentCheckBox = new javax.swing.JCheckBox();
53         fixCommentNumCheckBox = new javax.swing.JCheckBox();
54         jLabel1 = new javax.swing.JLabel();
55         commentNumField = new javax.swing.JTextField();
56         commentSaveFolderRadioButton = new javax.swing.JRadioButton();
57         commentSavedFolderField = new javax.swing.JTextField();
58         showSavingCommentFolderDialogButton = new javax.swing.JButton();
59         commentSaveFileRadioButton = new javax.swing.JRadioButton();
60         commentSavedFileField = new javax.swing.JTextField();
61         showSavingCommentFileDialogButton = new javax.swing.JButton();
62         inputTcommentTab = new javax.swing.JPanel();
63         tcommentSaveInfoPanel = new javax.swing.JPanel();
64         needDownloadTcomment = new javax.swing.JCheckBox();
65         jPanel8 = new javax.swing.JPanel();
66         delTcomment = new javax.swing.JCheckBox();
67         tcommentSaveInFolder = new javax.swing.JRadioButton();
68         tcommentFolder = new javax.swing.JTextField();
69         tcoomentFolderChooserButton = new javax.swing.JButton();
70         tcommentSaveToFile = new javax.swing.JRadioButton();
71         tcommentFile = new javax.swing.JTextField();
72         tcommentFileChooserButton = new javax.swing.JButton();
73         outputVideoTab = new javax.swing.JPanel();
74         jPanel3 = new javax.swing.JPanel();
75         savingConvertedVideoCheckBox = new javax.swing.JCheckBox();
76         jPanel5 = new javax.swing.JPanel();
77         addComment = new javax.swing.JCheckBox();
78         addTcomment = new javax.swing.JCheckBox();
79         convSaveFolderRadioButton = new javax.swing.JRadioButton();
80         notAddVideoIdConvVideoCheckBox = new javax.swing.JCheckBox();
81         convertedVideoSavedFolderField = new javax.swing.JTextField();
82         showSavingConvertedVideoFolderDialogButton = new javax.swing.JButton();
83         convSaveFileRadioButton = new javax.swing.JRadioButton();
84         convertedVideoSavedFileField = new javax.swing.JTextField();
85         showSavingConvertedVideoFileDialogButton = new javax.swing.JButton();
86
87         javax.swing.GroupLayout inputVideoTabLayout = new javax.swing.GroupLayout(inputVideoTab);
88         inputVideoTab.setLayout(inputVideoTabLayout);
89         inputVideoTabLayout.setHorizontalGroup(
90             inputVideoTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
91             .addGap(0, 369, Short.MAX_VALUE)
92         );
93         inputVideoTabLayout.setVerticalGroup(
94             inputVideoTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
95             .addGap(0, 270, Short.MAX_VALUE)
96         );
97
98         jTabbedPane1.addTab("\93ü\97Í\93®\89æ", inputVideoTab);
99
100         commentSaveInfoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("\83R\83\81\83\93\83g\95Û\91\90Ý\92è"));
101
102         savingCommentCheckBox.setText("\83R\83\81\83\93\83g\82ð\83_\83E\83\93\83\8d\81[\83h\82·\82é");
103
104         delCommentCheckBox.setText("\95Ï\8a·\8cã\82É\83R\83\81\83\93\83g\83t\83@\83C\83\8b\82ð\8dí\8f\9c\82·\82é");
105
106         fixCommentNumCheckBox.setText("\83R\83\81\83\93\83g\8eæ\93¾\90\94\82Í\8e©\93®\82Å\92²\90®\82·\82é");
107
108         jLabel1.setText("\8eæ\93¾\83R\83\81\83\93\83g\90\94");
109
110         inputCommentSaveGroup.add(commentSaveFolderRadioButton);
111         commentSaveFolderRadioButton.setText("\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é");
112
113         showSavingCommentFolderDialogButton.setText("\8eQ\8fÆ...");
114
115         inputCommentSaveGroup.add(commentSaveFileRadioButton);
116         commentSaveFileRadioButton.setText("\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é");
117
118         showSavingCommentFileDialogButton.setText("\8eQ\8fÆ...");
119
120         javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
121         jPanel7.setLayout(jPanel7Layout);
122         jPanel7Layout.setHorizontalGroup(
123             jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
124             .addGroup(jPanel7Layout.createSequentialGroup()
125                 .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
126                     .addGroup(jPanel7Layout.createSequentialGroup()
127                         .addGap(21, 21, 21)
128                         .addComponent(jLabel1)
129                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
130                         .addComponent(commentNumField, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE))
131                     .addComponent(delCommentCheckBox)
132                     .addComponent(fixCommentNumCheckBox)
133                     .addComponent(commentSaveFolderRadioButton)
134                     .addComponent(commentSaveFileRadioButton)
135                     .addGroup(jPanel7Layout.createSequentialGroup()
136                         .addGap(21, 21, 21)
137                         .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
138                             .addComponent(commentSavedFileField, javax.swing.GroupLayout.DEFAULT_SIZE, 194, Short.MAX_VALUE)
139                             .addComponent(commentSavedFolderField, javax.swing.GroupLayout.DEFAULT_SIZE, 194, Short.MAX_VALUE))
140                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
141                         .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
142                             .addComponent(showSavingCommentFolderDialogButton)
143                             .addComponent(showSavingCommentFileDialogButton))))
144                 .addContainerGap())
145         );
146         jPanel7Layout.setVerticalGroup(
147             jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
148             .addGroup(jPanel7Layout.createSequentialGroup()
149                 .addContainerGap()
150                 .addComponent(delCommentCheckBox)
151                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
152                 .addComponent(fixCommentNumCheckBox)
153                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
154                 .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
155                     .addComponent(jLabel1)
156                     .addComponent(commentNumField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
157                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
158                 .addComponent(commentSaveFolderRadioButton)
159                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
160                 .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
161                     .addComponent(commentSavedFolderField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
162                     .addComponent(showSavingCommentFolderDialogButton))
163                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
164                 .addComponent(commentSaveFileRadioButton)
165                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
166                 .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
167                     .addComponent(commentSavedFileField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
168                     .addComponent(showSavingCommentFileDialogButton))
169                 .addContainerGap())
170         );
171
172         javax.swing.GroupLayout commentSaveInfoPanelLayout = new javax.swing.GroupLayout(commentSaveInfoPanel);
173         commentSaveInfoPanel.setLayout(commentSaveInfoPanelLayout);
174         commentSaveInfoPanelLayout.setHorizontalGroup(
175             commentSaveInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
176             .addGroup(commentSaveInfoPanelLayout.createSequentialGroup()
177                 .addComponent(savingCommentCheckBox)
178                 .addGap(79, 79, 79))
179             .addGroup(commentSaveInfoPanelLayout.createSequentialGroup()
180                 .addGap(21, 21, 21)
181                 .addComponent(jPanel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
182                 .addContainerGap())
183         );
184         commentSaveInfoPanelLayout.setVerticalGroup(
185             commentSaveInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
186             .addGroup(commentSaveInfoPanelLayout.createSequentialGroup()
187                 .addComponent(savingCommentCheckBox)
188                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
189                 .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
190                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
191         );
192
193         javax.swing.GroupLayout inputCommentTabLayout = new javax.swing.GroupLayout(inputCommentTab);
194         inputCommentTab.setLayout(inputCommentTabLayout);
195         inputCommentTabLayout.setHorizontalGroup(
196             inputCommentTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
197             .addGroup(inputCommentTabLayout.createSequentialGroup()
198                 .addContainerGap()
199                 .addComponent(commentSaveInfoPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
200                 .addContainerGap())
201         );
202         inputCommentTabLayout.setVerticalGroup(
203             inputCommentTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
204             .addGroup(inputCommentTabLayout.createSequentialGroup()
205                 .addContainerGap()
206                 .addComponent(commentSaveInfoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
207                 .addContainerGap(27, Short.MAX_VALUE))
208         );
209
210         jTabbedPane1.addTab("\93ü\97Í\83R\83\81\83\93\83g", inputCommentTab);
211
212         tcommentSaveInfoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("\93\8a\8de\8eÒ\83R\83\81\83\93\83g\95Û\91\90Ý\92è"));
213
214         needDownloadTcomment.setText("\83R\83\81\83\93\83g\82ð\83_\83E\83\93\83\8d\81[\83h\82·\82é");
215
216         delTcomment.setText("\95Ï\8a·\8cã\82É\83R\83\81\83\93\83g\83t\83@\83C\83\8b\82ð\8dí\8f\9c\82·\82é");
217
218         inputTcommentSaveGroup.add(tcommentSaveInFolder);
219         tcommentSaveInFolder.setText("\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é");
220
221         tcoomentFolderChooserButton.setText("\8eQ\8fÆ...");
222
223         inputTcommentSaveGroup.add(tcommentSaveToFile);
224         tcommentSaveToFile.setText("\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é");
225
226         tcommentFileChooserButton.setText("\8eQ\8fÆ...");
227
228         javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
229         jPanel8.setLayout(jPanel8Layout);
230         jPanel8Layout.setHorizontalGroup(
231             jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
232             .addGroup(jPanel8Layout.createSequentialGroup()
233                 .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
234                     .addComponent(delTcomment)
235                     .addComponent(tcommentSaveInFolder))
236                 .addContainerGap())
237             .addGroup(jPanel8Layout.createSequentialGroup()
238                 .addContainerGap()
239                 .addComponent(tcommentFolder, javax.swing.GroupLayout.DEFAULT_SIZE, 202, Short.MAX_VALUE)
240                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
241                 .addComponent(tcoomentFolderChooserButton)
242                 .addContainerGap())
243             .addGroup(jPanel8Layout.createSequentialGroup()
244                 .addComponent(tcommentSaveToFile)
245                 .addContainerGap())
246             .addGroup(jPanel8Layout.createSequentialGroup()
247                 .addContainerGap()
248                 .addComponent(tcommentFile, javax.swing.GroupLayout.DEFAULT_SIZE, 202, Short.MAX_VALUE)
249                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
250                 .addComponent(tcommentFileChooserButton)
251                 .addContainerGap())
252         );
253         jPanel8Layout.setVerticalGroup(
254             jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
255             .addGroup(jPanel8Layout.createSequentialGroup()
256                 .addContainerGap()
257                 .addComponent(delTcomment)
258                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
259                 .addComponent(tcommentSaveInFolder)
260                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
261                 .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
262                     .addComponent(tcommentFolder, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
263                     .addComponent(tcoomentFolderChooserButton))
264                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
265                 .addComponent(tcommentSaveToFile)
266                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
267                 .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
268                     .addComponent(tcommentFile, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
269                     .addComponent(tcommentFileChooserButton))
270                 .addContainerGap())
271         );
272
273         javax.swing.GroupLayout tcommentSaveInfoPanelLayout = new javax.swing.GroupLayout(tcommentSaveInfoPanel);
274         tcommentSaveInfoPanel.setLayout(tcommentSaveInfoPanelLayout);
275         tcommentSaveInfoPanelLayout.setHorizontalGroup(
276             tcommentSaveInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
277             .addGroup(tcommentSaveInfoPanelLayout.createSequentialGroup()
278                 .addComponent(needDownloadTcomment)
279                 .addGap(79, 79, 79))
280             .addGroup(tcommentSaveInfoPanelLayout.createSequentialGroup()
281                 .addGap(21, 21, 21)
282                 .addComponent(jPanel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
283                 .addContainerGap())
284         );
285         tcommentSaveInfoPanelLayout.setVerticalGroup(
286             tcommentSaveInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
287             .addGroup(tcommentSaveInfoPanelLayout.createSequentialGroup()
288                 .addComponent(needDownloadTcomment)
289                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
290                 .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
291                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
292         );
293
294         javax.swing.GroupLayout inputTcommentTabLayout = new javax.swing.GroupLayout(inputTcommentTab);
295         inputTcommentTab.setLayout(inputTcommentTabLayout);
296         inputTcommentTabLayout.setHorizontalGroup(
297             inputTcommentTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
298             .addGroup(inputTcommentTabLayout.createSequentialGroup()
299                 .addContainerGap()
300                 .addComponent(tcommentSaveInfoPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
301                 .addContainerGap())
302         );
303         inputTcommentTabLayout.setVerticalGroup(
304             inputTcommentTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
305             .addGroup(inputTcommentTabLayout.createSequentialGroup()
306                 .addContainerGap()
307                 .addComponent(tcommentSaveInfoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
308                 .addContainerGap(71, Short.MAX_VALUE))
309         );
310
311         jTabbedPane1.addTab("\93ü\97Í\93\8a\8de\8eÒ\83R\83\81\83\93\83g", inputTcommentTab);
312
313         jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("\83R\83\81\83\93\83g\95t\82«\93®\89æ\95Û\91\90Ý\92è"));
314
315         savingConvertedVideoCheckBox.setText("\93®\89æ\82ð\95Ï\8a·\82·\82é");
316
317         addComment.setText("\83R\83\81\83\93\83g\82ð\82Â\82¯\82é");
318
319         addTcomment.setText("\93\8a\8de\8eÒ\83R\83\81\83\93\83g\82ð\82Â\82¯\82é");
320
321         outputVideoSaveGroup.add(convSaveFolderRadioButton);
322         convSaveFolderRadioButton.setText("\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é");
323
324         notAddVideoIdConvVideoCheckBox.setText("\83t\83@\83C\83\8b\96¼\82É\93®\89æID\82ð\95t\89Á\82µ\82È\82¢");
325
326         showSavingConvertedVideoFolderDialogButton.setText("\8eQ\8fÆ...");
327
328         outputVideoSaveGroup.add(convSaveFileRadioButton);
329         convSaveFileRadioButton.setText("\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é");
330
331         showSavingConvertedVideoFileDialogButton.setText("\8eQ\8fÆ...");
332
333         javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
334         jPanel5.setLayout(jPanel5Layout);
335         jPanel5Layout.setHorizontalGroup(
336             jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
337             .addGroup(jPanel5Layout.createSequentialGroup()
338                 .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
339                     .addComponent(addComment)
340                     .addComponent(addTcomment)
341                     .addComponent(convSaveFileRadioButton)
342                     .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup()
343                         .addGap(21, 21, 21)
344                         .addComponent(convertedVideoSavedFileField, javax.swing.GroupLayout.DEFAULT_SIZE, 194, Short.MAX_VALUE)
345                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
346                         .addComponent(showSavingConvertedVideoFileDialogButton))
347                     .addGroup(jPanel5Layout.createSequentialGroup()
348                         .addGap(21, 21, 21)
349                         .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
350                             .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup()
351                                 .addComponent(convertedVideoSavedFolderField, javax.swing.GroupLayout.DEFAULT_SIZE, 194, Short.MAX_VALUE)
352                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
353                                 .addComponent(showSavingConvertedVideoFolderDialogButton))
354                             .addComponent(notAddVideoIdConvVideoCheckBox)))
355                     .addComponent(convSaveFolderRadioButton))
356                 .addContainerGap())
357         );
358         jPanel5Layout.setVerticalGroup(
359             jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
360             .addGroup(jPanel5Layout.createSequentialGroup()
361                 .addComponent(addComment)
362                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
363                 .addComponent(addTcomment)
364                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
365                 .addComponent(convSaveFolderRadioButton)
366                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
367                 .addComponent(notAddVideoIdConvVideoCheckBox)
368                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
369                 .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
370                     .addComponent(convertedVideoSavedFolderField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
371                     .addComponent(showSavingConvertedVideoFolderDialogButton))
372                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
373                 .addComponent(convSaveFileRadioButton)
374                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
375                 .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
376                     .addComponent(convertedVideoSavedFileField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
377                     .addComponent(showSavingConvertedVideoFileDialogButton))
378                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
379         );
380
381         javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
382         jPanel3.setLayout(jPanel3Layout);
383         jPanel3Layout.setHorizontalGroup(
384             jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
385             .addGroup(jPanel3Layout.createSequentialGroup()
386                 .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
387                     .addComponent(savingConvertedVideoCheckBox)
388                     .addGroup(jPanel3Layout.createSequentialGroup()
389                         .addGap(21, 21, 21)
390                         .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
391                 .addContainerGap())
392         );
393         jPanel3Layout.setVerticalGroup(
394             jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
395             .addGroup(jPanel3Layout.createSequentialGroup()
396                 .addComponent(savingConvertedVideoCheckBox)
397                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
398                 .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
399                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
400         );
401
402         javax.swing.GroupLayout outputVideoTabLayout = new javax.swing.GroupLayout(outputVideoTab);
403         outputVideoTab.setLayout(outputVideoTabLayout);
404         outputVideoTabLayout.setHorizontalGroup(
405             outputVideoTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
406             .addGroup(outputVideoTabLayout.createSequentialGroup()
407                 .addContainerGap()
408                 .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
409                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
410         );
411         outputVideoTabLayout.setVerticalGroup(
412             outputVideoTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
413             .addGroup(outputVideoTabLayout.createSequentialGroup()
414                 .addContainerGap()
415                 .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
416                 .addContainerGap(35, Short.MAX_VALUE))
417         );
418
419         jTabbedPane1.addTab("\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ", outputVideoTab);
420
421         javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
422         this.setLayout(layout);
423         layout.setHorizontalGroup(
424             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
425             .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 374, Short.MAX_VALUE)
426         );
427         layout.setVerticalGroup(
428             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
429             .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 297, Short.MAX_VALUE)
430         );
431     }// </editor-fold>//GEN-END:initComponents
432     // Variables declaration - do not modify//GEN-BEGIN:variables
433     private javax.swing.JCheckBox addComment;
434     private javax.swing.JCheckBox addTcomment;
435     private javax.swing.JTextField commentNumField;
436     private javax.swing.JRadioButton commentSaveFileRadioButton;
437     private javax.swing.JRadioButton commentSaveFolderRadioButton;
438     private javax.swing.JPanel commentSaveInfoPanel;
439     private javax.swing.JTextField commentSavedFileField;
440     private javax.swing.JTextField commentSavedFolderField;
441     private javax.swing.JRadioButton convSaveFileRadioButton;
442     private javax.swing.JRadioButton convSaveFolderRadioButton;
443     private javax.swing.JTextField convertedVideoSavedFileField;
444     private javax.swing.JTextField convertedVideoSavedFolderField;
445     private javax.swing.JCheckBox delCommentCheckBox;
446     private javax.swing.JCheckBox delTcomment;
447     private javax.swing.JCheckBox fixCommentNumCheckBox;
448     private javax.swing.ButtonGroup inputCommentSaveGroup;
449     private javax.swing.JPanel inputCommentTab;
450     private javax.swing.ButtonGroup inputTcommentSaveGroup;
451     private javax.swing.JPanel inputTcommentTab;
452     private javax.swing.JPanel inputVideoTab;
453     private javax.swing.JLabel jLabel1;
454     private javax.swing.JPanel jPanel3;
455     private javax.swing.JPanel jPanel5;
456     private javax.swing.JPanel jPanel7;
457     private javax.swing.JPanel jPanel8;
458     private javax.swing.JTabbedPane jTabbedPane1;
459     private javax.swing.JCheckBox needDownloadTcomment;
460     private javax.swing.JCheckBox notAddVideoIdConvVideoCheckBox;
461     private javax.swing.ButtonGroup outputVideoSaveGroup;
462     private javax.swing.JPanel outputVideoTab;
463     private javax.swing.JCheckBox savingCommentCheckBox;
464     private javax.swing.JCheckBox savingConvertedVideoCheckBox;
465     private javax.swing.JButton showSavingCommentFileDialogButton;
466     private javax.swing.JButton showSavingCommentFolderDialogButton;
467     private javax.swing.JButton showSavingConvertedVideoFileDialogButton;
468     private javax.swing.JButton showSavingConvertedVideoFolderDialogButton;
469     private javax.swing.JTextField tcommentFile;
470     private javax.swing.JButton tcommentFileChooserButton;
471     private javax.swing.JTextField tcommentFolder;
472     private javax.swing.JRadioButton tcommentSaveInFolder;
473     private javax.swing.JPanel tcommentSaveInfoPanel;
474     private javax.swing.JRadioButton tcommentSaveToFile;
475     private javax.swing.JButton tcoomentFolderChooserButton;
476     // End of variables declaration//GEN-END:variables
477
478     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\83R\83\81\83\93\83g\82ð\83_\83E\83\93\83\8d\81[\83h\82·\82é\81v\83`\83F\83b\83N\83{\83b\83N\83X. */
479     JCheckBox getSavingCommentCheckBox() {
480         return savingCommentCheckBox;
481     }
482
483     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\95Ï\8a·\8cã\82É\83R\83\81\83\93\83g\83t\83@\83C\83\8b\82ð\8dí\8f\9c\82·\82é\81v\83`\83F\83b\83N\83{\83b\83N\83X. */
484     JCheckBox getDelCommentCheckBox() {
485         return delCommentCheckBox;
486     }
487
488     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\83R\83\81\83\93\83g\8eæ\93¾\90\94\82Í\8e©\93®\82Å\92²\90®\82·\82é\81v\83`\83F\83b\83N\83{\83b\83N\83X. */
489     JCheckBox getFixCommentNumCheckBox() {
490         return fixCommentNumCheckBox;
491     }
492
493     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\8eæ\93¾\83R\83\81\83\93\83g\90\94\81v\83e\83L\83X\83g\83t\83B\81[\83\8b\83h. */
494     JTextField getCommentNumField() {
495         return commentNumField;
496     }
497
498     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é\81v\83\89\83W\83I\83{\83^\83\93. */
499     JRadioButton getCommentSaveFolderRadioButton() {
500         return commentSaveFolderRadioButton;
501     }
502
503     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\83t\83@\83C\83\8b\96¼\82É\93®\89æID\82ð\95t\89Á\82µ\82È\82¢\81v\83`\83F\83b\83N\83{\83b\83N\83X. */
504     JCheckBox getNotAddVideoIdConvVideoCheckBox() {
505         return notAddVideoIdConvVideoCheckBox;
506     }
507
508     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é\81v\83e\83L\83X\83g\83t\83B\81[\83\8b\83h. */
509     JTextField getCommentSavedFolderField() {
510         return commentSavedFolderField;
511     }
512
513     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é\81v\83t\83@\83C\83\8b\83`\83\85\81[\83U\83{\83^\83\93. */
514     JButton getShowSavingCommentFolderDialogButton() {
515         return showSavingCommentFolderDialogButton;
516     }
517
518     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é\81v\83\89\83W\83I\83{\83^\83\93. */
519     JRadioButton getCommentSaveFileRadioButton() {
520         return commentSaveFileRadioButton;
521     }
522
523     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é\81v\83e\83L\83X\83g\83t\83B\81[\83\8b\83h. */
524     JTextField getCommentSavedFileField() {
525         return commentSavedFileField;
526     }
527
528     /** @return \95Û\91\90Ý\92è-\93ü\97Í\83R\83\81\83\93\83g\81u\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é\81v\83t\83@\83C\83\8b\83`\83\85\81[\83U\83{\83^\83\93. */
529     JButton getShowSavingCommentFileDialogButton() {
530         return showSavingCommentFileDialogButton;
531     }
532
533     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\93®\89æ\82ð\95Ï\8a·\82·\82é\81v\83`\83F\83b\83N\83{\83b\83N\83X. */
534     JCheckBox getSavingConvertedVideoCheckBox() {
535         return savingConvertedVideoCheckBox;
536     }
537
538     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\83R\83\81\83\93\83g\82ð\82Â\82¯\82é\81v\83`\83F\83b\83N\83{\83b\83N\83X. */
539     JCheckBox getAddCommentCheckBox() {
540         return addComment;
541     }
542
543     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\93\8a\8de\8eÒ\83R\83\81\83\93\83g\82ð\82Â\82¯\82é\81v\83`\83F\83b\83N\83{\83b\83N\83X. */
544     JCheckBox getAddTcommentCheckBox() {
545         return addTcomment;
546     }
547
548     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é\81v\83\89\83W\83I\83{\83^\83\93. */
549     JRadioButton getConvSaveFolderRadioButton() {
550         return convSaveFolderRadioButton;
551     }
552
553     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é\81v\83e\83L\83X\83g\83t\83B\81[\83\8b\83h. */
554     JTextField getConvertedVideoSavedFolderField() {
555         return convertedVideoSavedFolderField;
556     }
557
558     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é\81v\83t\83@\83C\83\8b\83`\83\85\81[\83U\83{\83^\83\93. */
559     JButton getShowSavingConvertedVideoFolderDialogButton() {
560         return showSavingConvertedVideoFolderDialogButton;
561     }
562
563     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é\81v\83\89\83W\83I\83{\83^\83\93. */
564     JRadioButton getConvSaveFileRadioButton() {
565         return convSaveFileRadioButton;
566     }
567
568     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é\81v\83e\83L\83X\83g\83t\83B\81[\83\8b\83h. */
569     JTextField getConvertedVideoSavedFileField() {
570         return convertedVideoSavedFileField;
571     }
572
573     /** @return \95Û\91\90Ý\92è-\8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ\81u\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é\81v\83t\83@\83C\83\8b\83`\83\85\81[\83U\83{\83^\83\93. */
574     JButton getShowSavingConvertedVideoFileDialogButton() {
575         return showSavingConvertedVideoFileDialogButton;
576     }
577
578     VideoSaveInfoPanel getVideoSaveInfoPanel() {
579         return videoSaveInfoPanel;
580     }
581
582     /** @return \93\8a\8de\8eÒ\83R\83\81\83\93\83g\82ð\83_\83E\83\93\83\8d\81[\83h\82·\82é\82Ì\82Å\82 \82ê\82Îtrue. */
583     boolean isTcommentDownload() {
584         return needDownloadTcomment.isSelected();
585     }
586
587     /** \81u\93\8a\8de\8eÒ\83R\83\81\83\93\83g\82ð\83_\83E\83\93\83\8d\81[\83h\82·\82é\81v\82É\90Ý\92è\82ð\8ds\82¤. */
588     void setTcommentDownload(boolean b) {
589         needDownloadTcomment.setSelected(b);
590     }
591
592     /** @return \95Ï\8a·\8cã\82É\93\8a\8de\8eÒ\83R\83\81\83\93\83g\82ð\8dí\8f\9c\82·\82é\82Ì\82Å\82 \82ê\82Îtrue. */
593     boolean isTcommentDelete() {
594         return delTcomment.isSelected();
595     }
596
597     /** \81u\95Ï\8a·\8cã\82É\93\8a\8de\8eÒ\83R\83\81\83\93\83g\82ð\8dí\8f\9c\82·\82é\81v\82É\90Ý\92è\82ð\8ds\82¤. */
598     void setTcommentDelete(boolean b) {
599         delTcomment.setSelected(b);
600     }
601
602     /** @return \93\8a\8de\8eÒ\83R\83\81\83\93\83g\82Ì\83t\83@\83C\83\8b\96¼\82ð\8e©\93®\82Å\90Ý\92è\82·\82é\82Ì\82Å\82 \82ê\82Îtrue, \92¼\90Ú\8ew\92è\82·\82é\82Ì\82Å\82 \82ê\82Îfalse. */
603     boolean isTcommentAutoFileName() {
604         return tcommentSaveInFolder.isSelected();
605     }
606
607     /** @param b \93\8a\8de\8eÒ\83R\83\81\83\93\83g\82Ì\83t\83@\83C\83\8b\96¼\82ð\8e©\93®\82Å\90Ý\92è\82·\82é\82Ì\82Å\82 \82ê\82Îtrue, \92¼\90Ú\8ew\92è\82·\82é\82Ì\82Å\82 \82ê\82Îfalse. */
608     void setTcommentAutoFileName(boolean b) {
609         tcommentSaveInFolder.setSelected(b);
610         tcommentSaveToFile.setSelected(!b);
611     }
612
613     /** @return \93\8a\8de\8eÒ\83R\83\81\83\93\83g\82Ì\81u\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é\81v\82É\90Ý\92è\82µ\82Ä\82 \82é\95\8e\9a\97ñ. */
614     String getTcommentDirectoryName() {
615         return tcommentFolder.getText();
616     }
617
618     /** @param t \93\8a\8de\8eÒ\83R\83\81\83\93\83g\82Ì\81u\95Û\91\82·\82é\83t\83H\83\8b\83_\82ð\8ew\92è\82µ\81A\83t\83@\83C\83\8b\96¼\82Í\8e©\93®\82Å\8c\88\92è\82·\82é\81v\82É\90Ý\92è\82µ\82Ä\82 \82é\95\8e\9a\97ñ. */
619     void setTcommentDirectoryName(String t) {
620         tcommentFolder.setText(t);
621     }
622
623     /** @return \93\8a\8de\8eÒ\83R\83\81\83\93\83g\82Ì\81u\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é\81v\82É\90Ý\92è\82µ\82Ä\82 \82é\95\8e\9a\97ñ. */
624     String getTcommentFileName() {
625         return tcommentFile.getText();
626     }
627
628     /** @param b \93\8a\8de\8eÒ\83R\83\81\83\93\83g\82Ì\81u\95Û\91\82·\82é\83t\83@\83C\83\8b\96¼\82ð\8ew\92è\82·\82é\81v\82É\90Ý\92è\82µ\82Ä\82 \82é\95\8e\9a\97ñ. */
629     void setTcommentFileName(String t) {
630         tcommentFile.setText(t);
631     }
632 }