On Tue, 4 Nov 2025 21:50:38 GMT, Marius Hanl <[email protected]> wrote:

>> tests/performance/control/src/table/TableRefreshTest.java line 77:
>> 
>>> 75:             refreshBtn.setOnAction(_ -> tv.refresh());
>>> 76:             Button recreateBtn = new Button("Recreate");
>>> 77:             recreateBtn.setOnAction(_ -> 
>>> tv.getProperties().put("recreateKey", true));
>> 
>> Question: Can this be done with public API? It's OK as is, since it is a 
>> test, but I figured I'd ask.
>
> Note like this, but setting a new `TableRow` factory will essentially trigger 
> and do the same:
> https://github.com/openjdk/jfx/blob/a4e5451373beed93942e0bf2b6c8b81d3e6ad66d/modules/javafx.controls/src/main/java/javafx/scene/control/skin/TableViewSkinBase.java#L331-L337

OK, thanks. I would leave the test as you have it.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1830#discussion_r2495787816

Reply via email to