JAL-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git] / src / jalview / gui / FontChooser.java
index ad41293..92cc4c6 100755 (executable)
@@ -408,10 +408,10 @@ public class FontChooser extends GFontChooser
   @Override
   public void defaultButton_actionPerformed()
   {
-    Cache.setProperty(Preferences.FONT_NAME, fontName.getSelectedItem().toString());
-    Cache.setProperty(Preferences.FONT_STYLE, fontStyle.getSelectedIndex() + "");
-    Cache.setProperty(Preferences.FONT_SIZE, fontSize.getSelectedItem().toString());
-    Cache.setProperty(Preferences.ANTI_ALIAS,
+    Cache.setProperty("FONT_NAME", fontName.getSelectedItem().toString());
+    Cache.setProperty("FONT_STYLE", fontStyle.getSelectedIndex() + "");
+    Cache.setProperty("FONT_SIZE", fontSize.getSelectedItem().toString());
+    Cache.setProperty("ANTI_ALIAS",
             Boolean.toString(smoothFont.isSelected()));
     Cache.setProperty(Preferences.SCALE_PROTEIN_TO_CDNA,
             Boolean.toString(scaleAsCdna.isSelected()));