Generics in FXML?

Werner Lehmann lehmann at media-interactive.de
Wed Aug 8 02:30:39 PDT 2012


On 07.08.2012 20:02, Greg Brown wrote:
> You can't. FXML is evaluated at runtime, after the generics have been
> erased.
>
> You can just use these classes in FXML as if they were non-generics.
> However, if you map them into a controller, you can use the generic
> equivalents.

Thanks - works perfectly.


More information about the openjfx-dev mailing list