On Thu, 25 Jun 2020 at 00:40, Laszlo Kishalmi <[email protected]> wrote:
> NbPreferences.root().node( "laf" ).put( "laf", 
> "com.formdev.flatlaf.FlatDarkLaf" ); Somewhere really early, probably at an 
> @OnStart marked runnable.

This probably needs to be done in ModuleInstall::validate - @OnStart
is too late to work consistently, unless behaviour has changed
recently.

You can see use of validate() in eg.
https://github.com/Revivius/nb-darcula/blob/master/src/main/java/com/revivius/nb/darcula/Installer.java#L29
and 
https://github.com/praxis-live/praxis-live/blob/v2.3.3/praxis.live.laf/src/net/neilcsmith/praxis/live/laf/Installer.java#L53

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to