Closed Beengoo closed 1 month ago
atlantafx version: 2.0.0 javafx version: 21.0.2 jdk version: 17.0.9
I get same error and am not using Swing. I can't check my code right now but I think it happens when I override updateItem (via setCellFactory)
I get same error and am not using Swing. I can't check my code right now but I think it happens when I override updateItem (via setCellFactory)
There is a temporary solution, it is simply to turn off the logger
java.util.logging.LogManager.getLogManager().reset(); // Disable all logs (I'm using log4j so it's not that critical for me)
// Do...
Yes, there's something with JavaFX when it loads styles. Here's an another issue https://github.com/mkpaz/atlantafx/issues/65 but with other controls. Unfortunately, there's nothing I can change.
My program works quite specifically (it uses javaFX-swing) and all javafx content is rendered in swing
The problem is that when the ComboBox instance is first opened, the javafx logger sends a warning that it failed to cast the String class in javafx.scene.paint.Paint and javafx.scene.paint.Color