changeset 12819:26ca9ac71349

6800513: GTK-LaF renders menus incompletely Reviewed-by: rupashka
author neugens
date Fri, 25 May 2012 14:16:50 +0200
parents 886414b7d5af
children e3a3e523a846
files jdk/src/share/classes/javax/swing/JPopupMenu.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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