if (specversion >= 9)
{
- if (Platform.isAMac())
+ if (Platform.isAMacAndNotJS())
{
if (desktopClass.getDeclaredMethod("setAboutHandler",
new Class[]
{
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();
}
}