6800513: GTK-LaF renders menus incompletely
authorneugens
Fri, 25 May 2012 14:16:50 +0200
changeset 12819 26ca9ac71349
parent 12818 886414b7d5af
child 12820 e3a3e523a846
6800513: GTK-LaF renders menus incompletely Reviewed-by: rupashka
jdk/src/share/classes/javax/swing/JPopupMenu.java
--- a/jdk/src/share/classes/javax/swing/JPopupMenu.java	Thu May 24 15:11:24 2012 +0400
+++ b/jdk/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