dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #02742
[Bug 984916] Re: Java Swing applications do not work with appmenu
I've packaged Jayatana to my PPA. The package works for OpenJDK 7 only.
Add "ppa:brunonova/ppa" to the software sources and install the "openjdk-7-jayatana" package.
It seems to be working (at least in Raring).
However, it appears Jayatana doesn't work in Saucy (for now, at least),
so I have not uploaded a version for Saucy.
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to libdbusmenu in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/984916
Title:
Java Swing applications do not work with appmenu
Status in Application menu module for GTK+:
Confirmed
Status in DBus Menu:
Confirmed
Status in “libdbusmenu” package in Ubuntu:
Confirmed
Bug description:
Bug #618587 tracks integration of appmenu with SWT, but there appears
to be nothing filed about integration with javax.swing.JMenuBar
(mentioned at the bottom of bug #659931).
Expected (at least ideal) behavior: when running Unity and giving
focus to a JFrame with a JMenuBar, the menu bar is not displayed
inside the frame, but corresponding menus are displayed in the global
Unity menu.
Actual behavior on 11.10: the menu bar is displayed inside the frame,
and appmenu is empty.
For comparison, the Mac OS X JRE automatically displays Swing menus in
the native location. libjava-gnome-java is perhaps the place to put in
such a fix; assuming the JRE itself is not modified, an application
wishing to take advantage of the fix would probably need to try to
load /usr/share/java/gtk.jar and (if present) call a simple "register"
method.
To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-gtk/+bug/984916/+subscriptions