I\'m subclassing many of the JavaFX 2 classes to distribute them as part of a library that will be used by others. This requires that a stylesheet (part of the library) be a
Finally tracked down the problem to Intellij IDEA CE which, by default, does not recognize css files as a resource that needs to be copied from the source to the target dir. Adding a *.css pattern to list of recognized resource types fixed the problem.