changeset 4909:25285b7883d4

7154516: [macosx] Popup menus have no visible borders Reviewed-by: serb
author dcherepanov
date Thu, 22 Mar 2012 01:03:42 +0400
parents 9b195bfce3eb
children af118cc1bef7 58b19dcdb7fc
files src/macosx/classes/com/apple/laf/AquaLookAndFeel.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java	Wed Mar 21 22:02:01 2012 +0400
+++ b/src/macosx/classes/com/apple/laf/AquaLookAndFeel.java	Thu Mar 22 01:03:42 2012 +0400
@@ -708,7 +708,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,