openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #08298
[Bug 932274] Re: Regression: Unreadable menu bar with Ambiance theme in Java/Swing GTK L&F
Yes, there are several issues with the Java Swing GtkTheme:
- menu bar picking up wrong colors
- dropdown menus and context menus have no border
- dropdown menus and context menus are missing dropdown-shadow
- menu separators are missing
In an ideal world this would be fixed in the JDK... but as a Java
developer I can only fix my app to make it look decent in Ubuntu 12.04
by
- setting the menu color explicitly if under Gtk Ambiance theme
- using heavy-weight popups so that they have border and dropdown-shadow
- explicitly setting the y thickness so that menu separators show up
All these workarounds can be examined e.g. in this source:
https://github.com/mjuhasz/BDSup2Sub/blob/2180016ff01de9c0a056f743387b90c2de11b2d4/src/main/java/bdsup2sub/gui/support/GuiUtils.java
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/932274
Title:
Regression: Unreadable menu bar with Ambiance theme in Java/Swing GTK
L&F
Status in Light Themes:
Invalid
Status in OpenJDK:
New
Status in “light-themes” package in Ubuntu:
Invalid
Status in “openjdk-6” package in Ubuntu:
Confirmed
Status in “openjdk-7” package in Ubuntu:
Confirmed
Bug description:
Hi, I have a problem in netbeans (and other java applications) with
Ambiance theme. The menu bar has a dark foreground color and the menu
titles are unreadable. This problem didn't occur in Oneiric.
To manage notifications about this bug go to:
https://bugs.launchpad.net/light-themes/+bug/932274/+subscriptions