OSDN Git Service

検索キャッシュ更新間隔設定部を削除
[coroid/inqubus.git] / frontend / src / yukihane / inqubus / gui / ConfigDialog.java
index f7c1883..088c928 100644 (file)
@@ -104,9 +104,6 @@ public class ConfigDialog extends JDialog {
         fldFfmpegDllPath = new JTextField();
         final JPanel pnlNgSetting = new JPanel();
         final JPanel pnlSearch = new JPanel();
-        final JPanel pnlSearchCache = new JPanel();
-        final JLabel lblSearchCache = new JLabel();
-        fldSearchCache = new JTextField();
 
         setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
 
@@ -592,31 +589,6 @@ public class ConfigDialog extends JDialog {
         pnlSearchVideo.setBorder(BorderFactory.createTitledBorder("動画検索対象フォルダ"));
         pnlSearchComment.setBorder(BorderFactory.createTitledBorder("コメント検索対象フォルダ"));
 
-        pnlSearchCache.setBorder(BorderFactory.createEtchedBorder());
-
-        lblSearchCache.setText("キャッシュ更新(秒)");
-
-        GroupLayout gl_pnlSearchCache = new GroupLayout(pnlSearchCache);
-        pnlSearchCache.setLayout(gl_pnlSearchCache);
-        gl_pnlSearchCache.setHorizontalGroup(
-            gl_pnlSearchCache.createParallelGroup(GroupLayout.Alignment.LEADING)
-            .addGroup(gl_pnlSearchCache.createSequentialGroup()
-                .addContainerGap()
-                .addComponent(lblSearchCache)
-                .addPreferredGap(ComponentPlacement.RELATED)
-                .addComponent(fldSearchCache, GroupLayout.PREFERRED_SIZE, 55, GroupLayout.PREFERRED_SIZE)
-                .addContainerGap(269, Short.MAX_VALUE))
-        );
-        gl_pnlSearchCache.setVerticalGroup(
-            gl_pnlSearchCache.createParallelGroup(GroupLayout.Alignment.LEADING)
-            .addGroup(gl_pnlSearchCache.createSequentialGroup()
-                .addContainerGap()
-                .addGroup(gl_pnlSearchCache.createParallelGroup(GroupLayout.Alignment.BASELINE)
-                    .addComponent(lblSearchCache)
-                    .addComponent(fldSearchCache, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
-                .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
-        );
-
         GroupLayout gl_pnlSearch = new GroupLayout(pnlSearch);
         pnlSearch.setLayout(gl_pnlSearch);
         gl_pnlSearch.setHorizontalGroup(
@@ -624,7 +596,6 @@ public class ConfigDialog extends JDialog {
             .addGroup(GroupLayout.Alignment.TRAILING, gl_pnlSearch.createSequentialGroup()
                 .addContainerGap()
                 .addGroup(gl_pnlSearch.createParallelGroup(GroupLayout.Alignment.TRAILING)
-                    .addComponent(pnlSearchCache, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                     .addComponent(pnlSearchComment, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                     .addComponent(pnlSearchVideo, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                 .addContainerGap())
@@ -636,8 +607,6 @@ public class ConfigDialog extends JDialog {
                 .addComponent(pnlSearchVideo, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                 .addPreferredGap(ComponentPlacement.RELATED)
                 .addComponent(pnlSearchComment, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
-                .addPreferredGap(ComponentPlacement.RELATED)
-                .addComponent(pnlSearchCache, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                 .addContainerGap(27, Short.MAX_VALUE))
         );
 
@@ -846,8 +815,6 @@ public class ConfigDialog extends JDialog {
     private final DirectoryRegisterPanel pnlSearchVideo = new DirectoryRegisterPanel();
     // 検索 - コメント検索対象フォルダ
     private final DirectoryRegisterPanel pnlSearchComment = new DirectoryRegisterPanel();
-    // 検索 - キャッシュ更新(秒)
-    private final JTextField fldSearchCache;
     // システム
     private final JTextField fldSystemThreadDownload = new JTextField();
     private final JTextField fldSystemWaitDownload = new JTextField();