开发者

Java look and feel for tray does not work

开发者 https://www.devze.com 2023-03-23 00:17 出处:网络
I use UIManager.setLookAndFeel(UIManager.getSystemLookAndFe开发者_如何学CelClassName()); to set a LAF and it works fine. But this time I also implemented a tray and it looks ugly - like Motif. How can

I use UIManager.setLookAndFeel(UIManager.getSystemLookAndFe开发者_如何学CelClassName()); to set a LAF and it works fine. But this time I also implemented a tray and it looks ugly - like Motif. How can I set LAF for the tray?


The class you're probably using for this is java.awt.SystemTray.

The tray uses AWT, not Swing. You cant set the look and feel of it.

I think there is a duplicate of this somewhere on here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号