Can't load fxml on Macos
Dirk Lemmermann
dlemmermann at gmail.com
Tue Oct 20 13:54:09 UTC 2020
I worked with JavaFX on MacOS since 2013 and except for issues related to font rendering I never got the impression that MacOS is the black sheep. I also happen to know that many of the developers that are working on JavaFX use MacOS.
Dirk
> On Oct 20, 2020, at 12:28 PM, Davide Perini <perini.davide at dpsoftware.org> wrote:
>
> Hi all,
> this code works well on both Windows and Linux running Java 15 on JavaFX 15.
>
> FXMLLoader fxmlLoader =new FXMLLoader(GUIManager.class.getResource( fxml + Constants.FXML)); return fxmlLoader.load();
>
>
> It doesn't work on Macos returning a nullpointer exception.
>
> Any idea? Why Macos is always the black sheep?
>
> Thanks
> Davide
More information about the openjfx-dev
mailing list