setbackground white
[jalview.git] / src / jalview / bin / Cache.java
index a5231e1..e0edae8 100755 (executable)
@@ -18,6 +18,11 @@ public class Cache
   //\r
   // LAST_DIRECTORY   , use this to cache record of where the user looked to find a file\r
   // UNIPROT_CACHE\r
+  // USER_DEFINED_COLOUR - file describing last user set colours\r
+  // FONT_NAME\r
+  // FONT_STYLE\r
+  // FONT_SIZE\r
+\r
 \r
   public static void loadProperties()\r
   {\r
@@ -32,11 +37,7 @@ public class Cache
       in.close();\r
     }\r
     catch (Exception ex)\r
-    {\r
-      ex.printStackTrace();\r
-    }\r
-\r
-\r
+    { }\r
   }\r
 \r
   public static String getProperty(String key)\r
@@ -44,7 +45,7 @@ public class Cache
     return  applicationProperties.getProperty(key);\r
   }\r
 \r
-  public static void setProperty(String key, String obj)\r
+  public static String setProperty(String key, String obj)\r
   {\r
     try\r
     {\r
@@ -59,6 +60,8 @@ public class Cache
     catch (Exception ex)\r
     {}\r
 \r
+    return obj;\r
+\r
   }\r
 \r
 \r