Quick Ubuntu 15.04 Vivid Vervet update: JAyatana was uploaded to the main Ubuntu 15.04 repositories today (moved from proposed to release) and according to the changelog, it will probably be installed by default:

Drop dependency on java, so that we can integrate this package by default without dragging java on the default installed (as we did in the past with qt appmenu integration).

Update: JAyatana is now installed by default in Ubuntu 15.04 Vivid Vervet.

Java Swing Ayatana (JAyatana) is a project that integrates Java Swing applications with Ubuntu's global menu (AppMenu) and HUD.

Using it, you get Unity AppMenu and HUD support for applications such as NetBeans IDE, IntelliJ IDEA, Android Studio, jDownloader and so on.

Here are a couple of screenshots of a Java Swing app (Android Studio) with global menu / HUD, under Unity: Here are a couple of screenshots of a Java Swing app (Android Studio) with global menu / HUD, under Unity:

If you want to try JAyatana in Ubuntu 15.04 Vivid Vervet right now, install it from the repositories (note that the package was just promoted to release so it might take a while until it's synchronized with the repositories mirror you're using):

sudo apt-get install jayatana

Then log out and log back in.users can install Jayatana by using its official PPA