What is the purpose of @NamedArg annotation in javaFX 8?
The @NamedArg annotation allows an FXMLLoader to instantiate a class that does not have a zero-argument constructor. Technical Background: The FXMLLoader creates objects using reflection. Typically, if you use a tag corresponding to a class with a constructor taking no arguments, an object is created from that class by calling Class.newInstance(), which invokes the no-argument … Read more