Close all ContextMenu with mouse button

Anthony Petrov anthony.petrov at
Thu Sep 18 13:29:04 UTC 2014

On 9/18/2014 5:17 PM, Werner Lehmann wrote:
> On 18.09.2014 14:38, Anthony Petrov wrote:
>> If they don't, this is a bug in either Control, Scenegraph, or Glass.
>> Please file a JIRA and provide a small test case that reproduces the
>> problem.
> ...or a JFXPanel is involved: popups and contextmenus opened from a 
> JFXPanel do not close when clicking in Swing (outside of the JFXPanel). 
> At least it used to be like that in FX 2.2.

This should be fixed now in 8u20, at least on Windows and Mac. Please 
test it and report your results.

On Linux there's a known limitation of the focus grab functionality, so 
this still may be a problem for JFXPanel on that platform.

best regards,

More information about the openjfx-dev mailing list