Strange errors when shutting down application

Tom Eugelink tbee at tbee.org
Sun May 12 10:18:28 PDT 2013


Hello David,

All my controls in JFXtras have these message in some form or another, for example CalendarPickerTrial1 (JFXtras 2.2 using JDK7/JFX2.2):

WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.text-field' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.7.0_13/jre/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.text-field' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.7.0_13/jre/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-prompt-text-fill' from rule '*.text-field' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.7.0_13/jre/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-accent' while resolving lookups for '-fx-highlight-fill' from rule '*.text-input' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.7.0_13/jre/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss

Reading the errors and based on the fact at all my controls suffer from these warnings, I do not think that has something to do with my controls. Two developers confirmed seeing the same messages on their systems, so that rules out an environment setup issue.

What I would really like to first confirm that that you see the messages. May I suggest the following approach:
1. checkout / download JFXtras (https://github.com/JFXtras/jfxtras-labs)
2. run the gradlew_lib.cmd, it will download into the "_lib" directory all jars you need to setup the project in your IDE
3. setup JFXtras in your IDE (should be a breeze, just a Java project)
4. start jfxtras.labs.scene.control.CalendarPickerTrial1 (in src/test) and see if you see similar messages

This setup is already pretty small; it's a simple test class, a control, skin and CSS.

Tom


On 2013-05-07 19:20, David Grieve wrote:
> This is a different issue. If you can give me a small app that reproduces the problem, I can look into why.
>




More information about the openjfx-dev mailing list