Java Reference
In-Depth Information
scene.getStylesheets().addAll(cssStyle);
};
}
protected final EventHandler<ActionEvent>
enableCss(String style, final Scene scene){
return (ActionEvent event) -> {
scene.getStylesheets().clear();
setUserAgentStylesheet(style);
};
}
}
Figure 15-10 depicts the standard JavaFX Modena Look and Feel (theme).
 
 
Search WWH ::




Custom Search