Duplicate :
|
|
Duplicate :
|
|
Relates :
|
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.
|