On Tue, 16 Apr 2024 15:58:21 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> ~~Done. See 
>> [92921e3](https://github.com/openjdk/jfx/pull/1434/commits/92921e36987e3cd1cfe78c17b464547aa73d241e)~~
>
> line 575 still uses a listener instead of 
> Bindings.bindContent(**Set,ObservableSet**)

The ``Node.getPseudoClassStates()`` returns an unmodifiable collection. The 
bindings would not work. Therefore we need to use a listener and change the 
pseudo-class-state by using the ``Node.pseudoClassStateChanged(PseudoClass, 
boolean)`` method.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1434#discussion_r1567619163

Reply via email to