JAL-3274 resource path correction, code tidying (constants etc)
[jalview.git] / src / jalview / gui / APQHandlers.java
index 5f6651c..c5a1b66 100644 (file)
@@ -38,7 +38,7 @@ public class APQHandlers
 
         if (specversion >= 9)
         {
-          if (Platform.isAMac())
+          if (Platform.isAMacAndNotJS())
           {
             if (desktopClass.getDeclaredMethod("setAboutHandler",
                     new Class[]
@@ -135,12 +135,12 @@ public class APQHandlers
       {
         System.out.println(
                 "Exception when looking for About, Preferences, Quit Handlers");
-        e.printStackTrace();
+        // e.printStackTrace();
       } catch (Throwable t)
       {
         System.out.println(
                 "Throwable when looking for About, Preferences, Quit Handlers");
-        t.printStackTrace();
+        // t.printStackTrace();
       }
 
     }