ShowcaseFX
At least JDK 11 is required.
This project contains a single control called CssShowcaseView
that can be used to preview the results produced by adding one or more stylesheets on top of the built-in modena stylesheet. This view can be run as part of a standalone CSS testing application or integrated into a customer application as a developer option.
Usage
// A CSS configuration with three stylesheets that will be used to
// extend the built-in Modena.css file.
CssConfiguration config = new CssConfiguration("My Style",
"url/to/stylesheet1.css",
"url/to/stylesheet2.css",
"url/to/stylesheet3.css");
CssShowcaseView view = new CssShowcaseView();
view.getConfigurations().add(config);
view.setSelectedConfiguration(config);
// then add pane to your UI