When using ControlsFX's TableView2 component in the transit-samples project, I encountered two critical problems
1. using TableView2 , horizontal scrolling triggers the following warning in the console:
WARNING: Caught 'java.lang.ClassCastException: class java.lang.String cannot be cast to class javafx.scene.paint.Paint (java.lang.String is in module java.base of loader 'bootstrap'; javafx.scene.paint.Paint is in module [email protected] of loader 'platform')' while converting value for '-fx-background-color' from rule '*.table-view2>*.virtual-flow>*.clipped-container>*.sheet>*.table-row-cell>*.tableview2-cell' in stylesheet jar:file:/D:/soft/gradle-8.5/.gradle/caches/modules-2/files-2.1/org.controlsfx/controlsfx/11.1.0/4627258861ef68750b5fce11f8853d530cce6add/controlsfx-11.1.0.jar!/org/controlsfx/control/tableview2/tableview2.css
- TableView2 Header Turns White Background in Cell Selection Mode
Environment: JavaFX: 21.0.7 os: win11