JAL-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git] / src / jalview / gui / LineartOptions.java
index 62bdd35..d55733c 100644 (file)
@@ -86,7 +86,7 @@ public class LineartOptions extends JPanel
       ex.printStackTrace();
     }
 
-    dialog = JvOptionPane.newOptionDialog(Desktop.getDesktopPane());
+    dialog = JvOptionPane.newOptionDialog(Desktop.desktop);
   }
 
   /**
@@ -188,7 +188,7 @@ public class LineartOptions extends JPanel
     }
     else
     {
-      Cache.removePropertyNoSave(preferencesKey);
+      Cache.applicationProperties.remove(preferencesKey);
     }
   }