Description
processing.core.ThinkDifferent should use the QuitHandler from the newer java.awt.desktop package in addition to com.apple.eawt.QuitHandler. Some adapter code could be written that allows this to run on all JDKs, without explicitly removing com.apple.eawt.QuitHandler support.
Expected Behavior
Allow Processing to work on OSX beyond JDK 1.8, while still keeping compatibility.
Current Behavior
Only works on JDK 1.8 and below.
Steps to Reproduce
Run any Processing app on JDK > 1.8.
Your Environment
- Processing version: 3.4
- Operating System and OS version: macOS 10.14.2
- Other information:
Possible Causes / Solutions
Better cross-platform support was added for "desktop" apps and this removed some of the Apple-specific classes in favour of JDK-provided ones.