On Wed, 31 Aug 2022 at 12:30, Mike Hallan <mkhal...@yahoo.com.invalid> wrote:
> Sounds like there is no simple or non-brittle way to do this. Thanks anyway.

You might also look at configuring the installed look and feels -
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/UIManager.html#setInstalledLookAndFeels(javax.swing.UIManager.LookAndFeelInfo%5B%5D)

The NetBeans UI is just showing the installed look and feels.  Or you
could hide the existing UI selection and provide your own.

You should be able to validate and change the LAF preference during startup too.

Both should probably happen in a ModuleInstall validate method that
runs after this one -
https://github.com/apache/netbeans/blob/master/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/Installer.java#L35

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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

Reply via email to