Enhancements for JavaFX 18

Abhinay Agarwal abhinay_agarwal at live.com
Fri Oct 1 07:05:25 UTC 2021


Hi,

I recently worked on removing a few left-over Traversal engine usage in ControlsFX [1].

It can be tricky, sometimes impossible, to get the traversal part right in a custom control which can be done using 2 lines if Traversal API was present [2].

This made me thinking if there is a scope of adding the Traversal engine API to JavaFX. Most of the heavy lifting was already done by Jonathan in JDK-8091673 [3].

-- Abhinay

[1] https://github.com/controlsfx/controlsfx/pull/1395
[2] https://github.com/controlsfx/controlsfx/pull/1395/files#r712829957
[3] https://bugs.openjdk.java.net/browse/JDK-8091673

On 30/07/21 6:26 pm, Kevin Rushforth wrote:
Now that JavaFX 17 is in RDP2, we can turn more attention to bug fixes and enhancement requests for JavaFX 18. It's the summer, so there may be delays as some people are out at various times (including me), but I would like to get some of the outstanding enhancement requests moving over the next few weeks.

Specifically, I'd like to see the following proceed:

* Transparent backgrounds in WebView
JBS: https://bugs.openjdk.java.net/browse/JDK-8090547
PR: https://github.com/openjdk/jfx/pull/563

* Add DirectionalLight
JBS: https://bugs.openjdk.java.net/browse/JDK-8234921
PR: https://github.com/openjdk/jfx/pull/548

* CSS pseudoclasses :focus-visible and :focus-within
https://bugs.openjdk.java.net/browse/JDK-8268225
PR: https://github.com/openjdk/jfx/pull/475

* Improve property system to facilitate correct usage (minus the binary incompatible API change)
JBS: https://bugs.openjdk.java.net/browse/JDK-8268642
PR: https://github.com/openjdk/jfx/pull/590 (Draft)

And maybe the following:

* Add CSS themes as a first-class concept (need a consensus on how to proceed)

* Undecorated interactive stage style (still in early discussion, but the concept looks interesting and useful)

There are probably others I'm forgetting.

Each of the above should be discussed in their own thread on openjfx-dev rather than a reply to this thread.

-- Kevin




More information about the openjfx-dev mailing list