Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8318204

Use new EventTarget methods in ListenerHelper

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • jfx22
    • jfx21
    • javafx
    • None
    • b14

    Description

      As of OpenJFX 21, `EventTarget` has methods to add and remove event listeners.
      The `instanceof` checks in `com.sun.javafx.scene.control.ListenerHelper` should be removed and replaced by a simple call to the respective interface method.

      Attachments

        Issue Links

          Activity

            People

              mstrauss Michael Strauß
              mstrauss Michael Strauß
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: