I would like to add a CSS file which is located somewhere on the filesystem. The purpose is to write an application where the user can add JavaFX CSS files (which are create
If css in same packaage simply use
scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());