changeset 5434:cd00d68e06ac

6800513: GTK-LaF renders menus incompletely Reviewed-by: rupashka
author neugens
date Fri, 25 May 2012 14:16:50 +0200
parents bb3ada9822e4
children 4b2b963f8774
files src/share/classes/javax/swing/JPopupMenu.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/JPopupMenu.java	Thu May 24 15:11:24 2012 +0400
+++ b/src/share/classes/javax/swing/JPopupMenu.java	Fri May 25 14:16:50 2012 +0200
@@ -826,7 +826,7 @@
             popupFactory.setPopupType(PopupFactory.LIGHT_WEIGHT_POPUP);
         }
         else {
-            popupFactory.setPopupType(PopupFactory.MEDIUM_WEIGHT_POPUP);
+            popupFactory.setPopupType(PopupFactory.HEAVY_WEIGHT_POPUP);
         }
 
         // adjust the location of the popup