neilcsmith-net commented on PR #9240: URL: https://github.com/apache/netbeans/pull/9240#issuecomment-3996887039
Better to use an `isDarkLaf` check similar to https://github.com/apache/netbeans/blob/master/platform/openide.util.ui/src/org/openide/util/ImageUtilities.java#L383 which delegates to - ``` return UIManager.getBoolean("nb.dark.theme"); ``` Although given how use of this pattern is growing, we could probably do with providing an API for it, probably in the adjacent `Utilities` class. -- 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
