Blocks :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
When we try to run a JavaFX FXML application embedded as applet, it fails because of a RuntimeException. javafx.fxml.FXML loader's private HashMap<String, Field> getControllerFields() throws LoadException; method throws a SecurityAcception while calling getDeclaredFields method of the controller class. Developers should be able to embed their JavaFX FXML applications GUI's without signing their jars. One possible solution is to call getFields method instead of calling getDeclaredFields. Developers can declare controller fields as public.
|