X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbin%2FCache.java;h=e0edae889d5fda04929e41aac50ccf0b6e712678;hb=180faccf15c5358f8e456a98d63ccf4d50aef376;hp=a5231e1f090fab17cfedcbfded8d7564520828f9;hpb=0d79fdf165b3aa194d179e502b9f3c8e635ecd65;p=jalview.git diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index a5231e1..e0edae8 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -18,6 +18,11 @@ public class Cache // // LAST_DIRECTORY , use this to cache record of where the user looked to find a file // UNIPROT_CACHE + // USER_DEFINED_COLOUR - file describing last user set colours + // FONT_NAME + // FONT_STYLE + // FONT_SIZE + public static void loadProperties() { @@ -32,11 +37,7 @@ public class Cache in.close(); } catch (Exception ex) - { - ex.printStackTrace(); - } - - + { } } public static String getProperty(String key) @@ -44,7 +45,7 @@ public class Cache return applicationProperties.getProperty(key); } - public static void setProperty(String key, String obj) + public static String setProperty(String key, String obj) { try { @@ -59,6 +60,8 @@ public class Cache catch (Exception ex) {} + return obj; + }