Thank you for the reply! How I can disable these warnings when I run the code in Netbeans?
On Sat, Sep 14, 2013 at 2:26 PM, Tom Eugelink <[email protected]> wrote: > > On JavaFX 8.0 we're getting all kind of CSS warnings when running the > JFXtras 8.0 project. I personally am waiting for JFX8 to stabilize before > trying to figure out what is going on exactly. I do not notice any (visual) > problems though. > > > > On 2013-09-14 12:32, Peter Penzov wrote: > >> Hi, >> I tried to implement my own version of example from jfxtras - >> BigDecimalField. I copied all java files and css code successfully but >> when >> I run the code I get these errors: >> >> >> >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving >> lookups for '-fx-background-color' from rule '*.big-decimal-field' in >> stylesheet >> file:/D:/Users/pterzie/**Desktop/DX-57DC/target/**classes/styles/** >> BigDecimalField.css >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: 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.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-inner-color' while resolving lookups >> for '-fx-highlight-text-fill' from rule '*.text-input' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: 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.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-control-inner-background' while resolving >> lookups for '-fx-highlight-fill' from rule '*.text-input' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: 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.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-box-border' while resolving lookups >> for '-fx-background-color' from rule '*.big-decimal-field *.arrow-button' >> in stylesheet >> file:/D:/Users/pterzie/**Desktop/DX-57DC/target/**classes/styles/** >> BigDecimalField.css >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-control-inner-background' while resolving >> lookups for '-fx-background-color' from rule >> '*.tab-pane>*.tab-content-**area' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving >> lookups for '-fx-background-color' from rule '*.combo-box-base' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-outer-border' while resolving lookups for >> '-fx-background-color' from rule '*.combo-box-base>*.arrow-**button' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-mark-highlight-color' while resolving >> lookups for '-fx-background-color' from rule >> '*.combo-box-base>*.arrow-**button>*.arrow' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.list-view' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.scroll-bar:vertical' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.scroll-bar:vertical>*.** >> track-background' >> in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-mark-highlight-color' while resolving >> lookups for '-fx-background-color' from rule >> '*.scroll-bar:vertical>*.**increment-button>*.increment-**arrow' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-mark-highlight-color' while resolving >> lookups for '-fx-background-color' from rule >> '*.scroll-bar:vertical>*.**decrement-button>*.decrement-**arrow' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.scroll-bar:vertical>*.**track' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.scroll-bar:vertical>*.**thumb' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.scroll-bar:horizontal' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule >> '*.scroll-bar:horizontal>*.**track-background' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-mark-highlight-color' while resolving >> lookups for '-fx-background-color' from rule >> '*.scroll-bar:horizontal>*.**increment-button>*.increment-**arrow' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-mark-highlight-color' while resolving >> lookups for '-fx-background-color' from rule >> '*.scroll-bar:horizontal>*.**decrement-button>*.decrement-**arrow' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.scroll-bar:horizontal>*.**track' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.scroll-bar:horizontal>*.**thumb' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-box-border' while resolving lookups for >> '-fx-background-color' from rule '*.list-view>*.virtual-flow>*.**corner' >> in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-control-inner-background' while resolving >> lookups for '-fx-background-color' from rule >> '*.tab-pane>*.tab-content-**area' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-background-color' while resolving >> lookups for '-fx-text-fill' from rule '*.label' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-outer-border' while resolving lookups for >> '-fx-background-color' from rule >> '*.tab-pane>*.tab-header-area>***.tab-header-background' in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-tab-border-color' while resolving lookups >> for '-fx-background-color' from rule >> '*.tab-pane>*.tab-header-area>***.headers-region>*.tab:**selected' in >> stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> IX 14, 2013 1:29:54 PM javafx.scene.CssStyleHelper calculateValue >> WARNING: Could not resolve '-fx-text-base-color' while resolving lookups >> for '-fx-text-fill' from rule >> '*.tab-pane>*.tab-header-area>***.headers-region>*.tab>*.tab-** >> container>*.tab-label' >> in stylesheet >> jar:file:/C:/Program%20Files/**Java/jdk1.8.0/jre/lib/ext/** >> jfxrt.jar!/com/sun/javafx/**scene/control/skin/caspian/**caspian.bss >> >> >> >> >> >> >> This is the css code from the example: >> >> >> >> >> >> >> /*************************************************************** >> ******************** >> * >> * >> * The >> control * >> * >> * >> **************************************************************** >> ******************/ >> .big-decimal-field { >> /*-fx-font-size: 24pt;*/ >> -fx-skin: "com.dx57dc.gui.panels.**BigDecimalFieldSkin"; >> -fx-background-color: -fx-shadow-highlight-color, >> -fx-text-box-border, >> -fx-control-inner-background; >> -fx-background-insets: 0, 1, 2; >> -fx-background-radius: 3, 2, 2; >> -fx-padding: 2 2 2 2; >> } >> >> /* >> * NOTE: this is the a workaround see documentation >> * in the Skin. >> */ >> .big-decimal-field-focused { >> -fx-background-color: -fx-focus-color, -fx-text-box-border, >> -fx-control-inner-background; >> -fx-background-insets: -0.4, 1, 2; >> -fx-background-radius: 3.4, 2, 2; >> } >> >> >> .big-decimal-field:disabled { >> -fx-opacity: -fx-disabled-opacity; >> } >> >> /*************************************************************** >> ******************** >> * >> * >> * The TextField, that contains the >> BigDecimal * >> * We want to get rid of focus-styling, borders, >> etc... * >> **************************************************************** >> ******************/ >> .big-decimal-field .number-text-field { >> -fx-background-insets: 0; >> -fx-padding: 3 3 3 3; >> } >> >> /*************************************************************** >> ******************** >> * >> * >> * The spinner >> buttons * >> * >> * >> **************************************************************** >> ******************/ >> .big-decimal-field .arrow-button { >> -fx-background-color: -fx-text-box-border, -fx-body-color; >> -fx-background-insets: 0 0 0 -1, 0; >> -fx-padding: 1; >> } >> >> .big-decimal-field .arrow-button:focused { >> -fx-color: -fx-focused-base; >> } >> >> .big-decimal-field .arrow-button:hover { >> -fx-color: -fx-hover-base; >> } >> >> .big-decimal-field .arrow-button:pressed { >> -fx-color: -fx-pressed-base; >> } >> /*************************************************************** >> ******************** >> * >> * >> * The arrow on the spinner >> button * >> * >> * >> **************************************************************** >> ******************/ >> >> .big-decimal-field .spinner-arrow { >> -fx-stroke: gray; >> -fx-stroke-width: 2; >> } >> >> >> >> >> >> Can you tell me is this a version problem? Maybe the code from jfxtras is >> tested for JavaFX 2.2? >> >> Regards, >> Peter >> > > >
