How-to Ubuntu 11.04 +Java Swing/SWT menu in header(like in Mac OS)?

雨燕双飞 提交于 2019-12-24 12:17:47

问题


Is there a way to put a menu on a panel in Java's Swing/SWT applications in Ubuntu 11.04 (like in Mac OS X)? I've seen that most (if not all) of native applications on Ubuntu use this feature. So, is there a way?


回答1:


It took me a while to understand what you meant. If you mean you want to use the Unity desktop Global Menu, you will likely have to use the Java Gnome Bindings



来源:https://stackoverflow.com/questions/6865552/how-to-ubuntu-11-04-java-swing-swt-menu-in-headerlike-in-mac-os

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