Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Processing to run on OSX using JDK > 1.8 by utilizing the new java.awt.desktop classes #5746

Closed
ssilverman opened this issue Jan 6, 2019 · 3 comments

Comments

@ssilverman
Copy link

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.

@ssilverman
Copy link
Author

I'm about to attempt a fix for this...

@ssilverman
Copy link
Author

The pull request: #5747.

@benfry
Copy link
Contributor

benfry commented Jan 17, 2020

Fixed with benfry/processing4#1 and continued development happening at https://github.com/processing/processing4

@benfry benfry closed this as completed Jan 17, 2020
@processing processing locked as resolved and limited conversation to collaborators Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants