Skip to content

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

Closed

Description

@ssilverman

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.

Activity

  1. ssilverman commented on Jan 6, 2019

    @ssilverman
    Author

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

  2. ssilverman commented on Jan 7, 2019

    @ssilverman
    Author

    The pull request: #5747.

  3. benfry commented on Jan 17, 2020

    @benfry
    Contributor

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

  4. locked as resolved and limited conversation to collaborators on Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions