-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.1.6, 1.2.0
-
x86, sparc
-
solaris_2.6, windows_nt
JMenu does not render properly when a call is made to setLightWeightPopupEnabled(false). Problem occurs on both beta4 and beta4.1 and
effects both Solaris and Windows 95.
A sample program is attached.
To see the problem, follow these steps:
1. Run the sample program in normal mode:
java MenuTest true
In this case, a call is made to setLightWeightPopupEnabled(true);
Note that the argument is set to "true". Behavior is correct
in this situation.
2. Now run the sample program with the argument set to false:
java MenuTest false
This time a call is made to setLightWeightPopupEnabled(false).
Note that the argument to setLightWeightPopupEnabled() is "false"
this time.
Note that the rendering of the menus/submenus is incorrect.
The customer requires the heavyweight menus because he's using (Java 3D) Canvas3D objects in his Swing desktop and thus needs the heavyweight menus so that they render "on top" of the heavyweight Canvas3D objects.
effects both Solaris and Windows 95.
A sample program is attached.
To see the problem, follow these steps:
1. Run the sample program in normal mode:
java MenuTest true
In this case, a call is made to setLightWeightPopupEnabled(true);
Note that the argument is set to "true". Behavior is correct
in this situation.
2. Now run the sample program with the argument set to false:
java MenuTest false
This time a call is made to setLightWeightPopupEnabled(false).
Note that the argument to setLightWeightPopupEnabled() is "false"
this time.
Note that the rendering of the menus/submenus is incorrect.
The customer requires the heavyweight menus because he's using (Java 3D) Canvas3D objects in his Swing desktop and thus needs the heavyweight menus so that they render "on top" of the heavyweight Canvas3D objects.
- duplicates
-
JDK-4172190 Submenus do not open using JPopupMenu.setDefaultLightWeightPopupEnabled(false);
-
- Closed
-
-
JDK-4168483 Mediumweight popup problem on Solaris
-
- Closed
-
- relates to
-
JDK-4812585 BasicComboBoxUI.FocusHandler doesn't hide popup menu when focus is lost
-
- Closed
-