问题
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