我无法找到有关如何在Java中设置OS X(引入于OS X 10.10 Yosemite)的深色模式menubar图标的任何信息。我看过这篇文章http://mail.openjdk.java.net/pipermail/macosx-port-dev/2014-October/006740.html,但没有得到任何答案。我知道在Objective-C中已经讨论了这个问题How to detect dark mode in Yosemite to change the status bar menu icon,但不确定是否可以在Java中以类似的方式实现。
有办法实现这个吗?