JAL-1648 Added improvement to persist cache items to properties file beyound a Jalvie...
[jalview.git] / src / jalview / fts / service / pdb / PDBFTSPanel.java
index 5a747be..23ff8f3 100644 (file)
@@ -42,7 +42,7 @@ public class PDBFTSPanel extends GFTSPanel
 
   private static Map<String, Integer> tempUserPrefs = new HashMap<String, Integer>();
 
-  private static final String PDB_FTS_CACHE_KEY = "PDB_FTS_CACHE_KEY";
+  private static final String PDB_FTS_CACHE_KEY = "CACHE.PDB_FTS";
 
   public PDBFTSPanel(SequenceFetcher seqFetcher)
   {
@@ -51,7 +51,7 @@ public class PDBFTSPanel extends GFTSPanel
     this.seqFetcher = seqFetcher;
     this.progressIndicator = (seqFetcher == null) ? null : seqFetcher
             .getProgressIndicator();
-    fireCache();
+    initCache();
   }
 
   @Override
@@ -144,7 +144,7 @@ public class PDBFTSPanel extends GFTSPanel
           refreshPaginatorState();
           updateSummaryTableSelections();
         }
-        fireCache();
+        updateCache();
       }
     }.start();
   }