7154516: [macosx] Popup menus have no visible borders
authorserb
Wed, 21 Nov 2012 15:58:09 +0400
changeset 14649 0f8154876c6a
parent 14648 2ef7c7edb4b0
child 14650 c28217f4e3c1
7154516: [macosx] Popup menus have no visible borders Reviewed-by: anthony, denis
jdk/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java
--- a/jdk/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java	Wed Nov 21 15:54:41 2012 +0400
+++ b/jdk/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java	Wed Nov 21 15:58:09 2012 +0400
@@ -714,7 +714,8 @@
 
             "PopupMenu.font", menuFont,
             "PopupMenu.background", menuBackgroundColor,
-            "PopupMenu.translucentBackground", translucentWhite,
+            // Fix for 7154516: make popups opaque
+            "PopupMenu.translucentBackground", white,
             "PopupMenu.foreground", menuForegroundColor,
             "PopupMenu.selectionBackground", menuSelectedBackgroundColor,
             "PopupMenu.selectionForeground", menuSelectedForegroundColor,