Java System Tray PopupMenu MenuItem with icons and variable fonts

和自甴很熟 提交于 2019-12-25 03:16:21

问题


As in the title, is there a way to do it?

The introductory article is either misleading or not completed.


回答1:


Fonts is not a problem so I'm not sure why that is part of the title. Icons is different.

Check out the section from the Swing tutorial How to Use the System Tray. The tutorial explains the limitations and provides a link to a Bug Id which has some suggestions. I don't know if the suggestion work since I haven't tried them.



来源:https://stackoverflow.com/questions/5357713/java-system-tray-popupmenu-menuitem-with-icons-and-variable-fonts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!