[API Review] RT-27887: introduce a node to embed Swing into JavaFX

Anthony Petrov anthony.petrov at oracle.com
Tue Jan 29 04:30:13 PST 2013


Thanks.

--
best regards,
Anthony

On 1/29/2013 16:24, Werner Lehmann wrote:
> Hi Anthony,
> 
> see http://javafx-jira.kenai.com/browse/RT-19953
> 
> Werner
> 
> On 28.01.2013 14:03, Anthony Petrov wrote:
>> Did you file a bug about this?
>>
>> -- 
>> best regards,
>> Anthony
>>
>> On 01/25/13 20:48, Werner Lehmann wrote:
>>> Seems as if there are exceptions to the rule. For example, a ContextMenu
>>> shown from a JFXPanel does not autohide when moving or resizing the
>>> JFrame parent of the JFXPanel.
>>>
>>> To workaround this I had to listen for changes on the Scene.window.x / y
>>> / width properties to explicitly hide the ContextMenu. In some case it
>>> was sufficient to listen for focus-lost on the Node showing the
>>> ContextMenu but that did not work always (moving the JFrame did not
>>> remove focus from a Node in a JFXPanel).
>>>
>>> Werner
>>>
>>> On 25.01.2013 16:12, Anthony Petrov wrote:
>>>> Popups have a very nice peculiarity that masks the problem: they hide
>>>> whenever you click somewhere else. So you can't actually notice the
>>>> z-order issue even if they don't have a proper owner window set. E.g.
>>>> this is how this currently works for JFXPanel (at least in FX 8).
> 


More information about the openjfx-dev mailing list