November 26th, 2012, 01:18 PM
Join Date: Nov 2012
Time spent in forums: 27 m 3 sec
Reputation Power: 0
Originally Posted by rameye
Would you perhaps be using Netbeans 7.2.x ? I am having problems with both the inline Node.setStyle()
and via stylesheets with Scene.getStylesheets().add()
It is seeming that the CSS parser in NetBeans 7.2 is balking on many of the JavaFX style property values. -fx-background-image
is one of them. It complains that url
is not a valid token, although we all know that it is.
To see how bad this is, extract caspian.css
from the jfxrt.jar
, and then add it to your JavaFX project and view using the editor.
Yellow ! triangles all over the place.
I read somewhere in the bug resolution lists that the problem has been resolved in Netbeans 7.3, but 7.3 is not released yet, although the latest 7.3 beta can be downloaded.
so.., i must download jfxrt.jar..?, ok..,
did you know a coding how to set a background image in javafx, without css..?
and once more again.,
can you share here.., how to call a new project on javafx 2 with cycling call?., or how to call new class in one packet..?
sorry for my poor english
Last edited by rifgin : November 26th, 2012 at 01:24 PM.