----- prasanta.sadhuk...@oracle.com wrote: > It seems if (c instanceof Applet || c instanceof Window) [although not > Popup#HeavyWeightWindow which is a JWindow] then cancelPopMenu will be > executed.
But why behavior is different in case of Window and Applet? My understanding was that we should not close popup in case of mouse wheel?