list.getSelectionModel().select(game_ptr);
list.scrollTo(game_ptr);
When this code is run, I get the following warning:
com.sun.javafx.scene.control.skin.VirtualFlow addTrailingCells
INFO: index exceeds maxCellCount. Check size calculations for class com.sun.javafx.scene.control.skin.ListViewSkin$2
Now, the index in game_ptr is correct. This is tested. If I run the following code, there is no warning:
list.getSelectionModel().select(game_ptr);
//list.scrollTo(game_ptr);
I know it's a little bit late, but maybe It'll help someone.
In my case I had to set the Column Resize Policy to unconstrained-resize, that worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With