title: Non-librarian Java integration with Ubuntu's Unity
body: <p>I want my Java app to integrate with the Unity UI in Ubuntu 11+, but I only want to distribute a single JAR and would prefer it to only have my code (it'll likely be in my portfolio). <strong>Is there any way I can put the contents of a <code>JMenuBar</code> into the Unity menu bar?</strong> I saw that there was already <a href="https://stackoverflow.com/questions/6865552/how-to-ubuntu-11-04-java-swing-swt-menu-in-headerlike-in-mac-os">a solution on SO</a>, and I already do this for OS X with a <code>System.setPropety</code> call, but I want to be able to do this in Ubuntu with my own code, as well.</p>