-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.1.7, 1.2.0
-
generic
-
generic
Name: clC74495 Date: 12/08/98
I have a JMenu with two JRadioButtonMenuItem objects and one
JCheckBoxMenuItem object, with a JSeparator between them.
If I select a JRadioButtonMenuItem, without releasing mouse button,
then move mouse down to JCheckBoxMenuItem, I get a weird message
generated by the system: "Received a mouse event from a non-showing
Component" (full text follows). Very repeatable, but must move mouse
quickly, not slowly.
Received a mouse event from a non-showing Component javax.swing.JRadioButtonMenu
Item[,2,23,117x21,alignmentX=null,alignmentY=null,border=javax.swing.plaf.basic.
BasicBorders$MarginBorder@c86f200c,flags=33,maximumSize=,minimumSize=,preferredS
ize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.In
setsUIResource[top=2,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false
,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selected
Icon=javax.swing.plaf.basic.BasicIconFactory$RadioButtonMenuItemIcon@b23b200c,te
xt=Backward]
Sample code: see Workaround section.
(Review ID: 47509)
======================================================================
- duplicates
-
JDK-4146684 Closing a window by a lightweight menu causes error.
-
- Resolved
-