On Sun, 13 Nov 2022 01:02:36 GMT, Thiago Milczarek Sayao <tsa...@openjdk.org> 
wrote:

>> Simple fix to not requestFocus() on scene change.
>> 
>> The attached bug sample shows that the TextField focused on the scene 
>> remains focused when the scene comes back.
>
> Thiago Milczarek Sayao has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Add test

tests/system/src/test/java/test/robot/javafx/scene/SceneChangeShouldNotFocusStageTest.java
 line 41:

> 39: import org.junit.Assert;
> 40: import org.junit.BeforeClass;
> 41: import org.junit.Test;

Since this is a new test class, you should probably use the JUnit5 API.

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

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

Reply via email to