On Mon, 15 Nov 2021, 21:15 Jerome Lelasseux, <lelass...@yahoo.com> wrote:

> Sorry I meant FlatLaf Dark.
>
> I use the following in ModuleInstall::validate()
>
> NbPreferences.root().node("laf").put("laf",
> "com.formdev.flatlaf.FlatDarkLaf");
> UIManager.installLookAndFeel(new UIManager.LookAndFeelInfo("FlatLaf Dark",
> FlatDarkLaf.class.getName()));
>

Try removing the second line. Leave the FlatLaf module to install the look
and feel. If that's not enough also add dependencies in that module on the
FlatLaf modules. See eg.
https://github.com/praxis-live/praxis-live/blob/master/praxis.live.laf/src/org/praxislive/ide/laf/Installer.java#L47
This works fine for me.

Best wishes,

Neil

Reply via email to