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

Werner Lehmann lehmann at media-interactive.de
Tue Jan 29 04:24:29 PST 2013


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).

-- 
--------------------------------------------------------
MINT MEDIA INTERACTIVE Software Systems GmbH
Kiel Science Centre / Wissenschaftszentrum
Fraunhoferstr. 13
D-24118 Kiel, Germany
Phone: +49 (0)431 530215-0
Fax: +49 (0)431 5302090
Mail: lehmann at media-interactive.de
Web: www.media-interactive.de
--------------------------------------------------------
--------------------------------------------------------
Sitz der Gesellschaft / Corporate HQ: Kiel
Reg.-eintragung / Registration:
Amtsgericht Kiel HRB 4860
Ust-ID Nr. DE 197455787
Geschäftsführer / Managing Director: Jörg Latteier
--------------------------------------------------------



More information about the openjfx-dev mailing list