On Wed, 10 Aug 2022 23:21:20 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

> ListViewSkin:381 calls getSelectionModel()

probably, same to focusModel here.

> modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/behavior/ListViewBehavior.java
>  line 268:
> 
>> 266:             return;
>> 267:         }
>> 268: 
> 
> line 281 (below): could sm be null there?

no, as this is listener is added to a particular selection model.

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

PR: https://git.openjdk.org/jfx/pull/711

Reply via email to