On Tue, 17 Oct 2023 04:46:12 GMT, Michael Strauß <mstra...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: cd7383ae Author: Michael Strauß <mstra...@openjdk.org> URL: https://git.openjdk.org/jfx/commit/cd7383aefcb15804bce1ba8541bf41137fb880cb Stats: 87 lines in 2 files changed: 1 ins; 78 del; 8 mod 8318204: Use new EventTarget methods in ListenerHelper Reviewed-by: jhendrikx, nlisker, angorya ------------- PR: https://git.openjdk.org/jfx/pull/1262