RFR: 8365635: Add MOUSE_DRAG_DONE event type

Nir Lisker nlisker at openjdk.org
Mon Aug 18 19:33:48 UTC 2025


On Mon, 18 Aug 2025 18:39:07 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> Adds `MOUSE_DRAG_DONE` event type to `MouseDragEvent` and appropriate handlers.
>
> modules/javafx.graphics/src/main/java/javafx/scene/Node.java line 7718:
> 
>> 7716:     }
>> 7717: 
>> 7718:     /// Defines a function to be called when a full press-drag-release gesture ends with this node as its source.
> 
> This is the first instance of markdown-style javadoc comments in JavaFX. Do we need a discussion surrounding their use?

They were added in JDK 23, which we can use. I don't know if there's anything special to discuss. The JEP gives standard usage examples, which I've followed, so there's no "feature abuse" here either.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1873#discussion_r2283265209


More information about the openjfx-dev mailing list