sdedic opened a new pull request #3741:
URL: https://github.com/apache/netbeans/pull/3741


   NetBeans respects 'darkness' of selected L&F, in particular by diverting 
images to their `_dark` variants. VScode themes are 'light' and 'dark' as well, 
so we could reuse the NBLS feature. This PR passes some dark-style L&F 
parameter to NBLS if vscode itself is using a dark theme - and eventually 
restarts NBLS if the theme changes from dark to light.
   
   During the implementation I've realized that `--laf` commandline parameter 
does not actually work for LaFs distributed as modules: LaF class is loaded too 
early, from bootstrap class loader, so it is not really possible to load Nimbus 
or FlatLaf. So the commit to NB startup module fixes that - load of the LaF 
class is retried after module classloader becomes ready.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
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