1 Reply Latest reply: Mar 17, 2013 6:32 AM by 992276 RSS

    JavaFX App looks different in windows vs osx

    ril3y
      EDIT:
      I downloaded the jfx samples and ensemble looks all messed up too. I created a new vm downloaded the latest java 7 with jfx bundled with it. And it too is messed up. Thoughts?

      I have been coding my tgFX app on windows until about 3 months ago. I then switched to OSX for my development box. Everything was fine until I recently tried to run it on windows. If you look at the 2 pictures I have link from my flickr account you can see what I am talking about. I am convinced there is something wrong with the updated javafx lib? I even installed 2.2.7 and pointed netbeans at that dir to see if it fixed it. It did not. In scene builder it looks all messed up as well. So I am pretty sure there is something up with javafx. It looks fine on linux and osx just not windows. I am at a loss, what should I try ?

      Windows Screenshot
      [http://www.flickr.com/photos/rileyporter/8542312944/in/photostream]
      OSX Screenshot
      [http://www.flickr.com/photos/rileyporter/8541211117/in/photostream]

      My code is all here:
      [https://github.com/synthetos/tgFX]

      When I launch the application on windows I do get a bunch of warnings from time to time. But even when I do not get these warnings the windows version still looks messed up.

      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.choice-box' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.choice-box *.label' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-mark-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.choice-box *.arrow' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.list-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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-background-color' from rule '*.list-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.list-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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-background-color' from rule '*.list-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.list-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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-background-color' from rule '*.list-cell:odd' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.list-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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-background-color' from rule '*.list-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.table-row-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-background-color' from rule '*.table-row-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-border-color' from rule '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.table-row-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-background-color' from rule '*.table-row-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-border-color' from rule '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.table-row-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-background-color' from rule '*.table-row-cell:odd' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-border-color' from rule '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.table-row-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-background-color' from rule '*.table-row-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/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 '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-table-cell-border-color' while resolving lookups for '-fx-border-color' from rule '*.table-cell' in stylesheet jar:file:/C:/Program%20Files/Oracle/JavaFX%202.2%20Runtime/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss

      Edited by: ril3y on Mar 9, 2013 9:07 AM