[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: Is it possible to have a SwingNode inside a JFXPanel
From:       Werner Lehmann <lehmann () media-interactive ! de>
Date:       2015-01-28 13:12:04
Message-ID: 54C8E024.3070903 () media-interactive ! de
[Download RAW message or body]

We have had both scenarios and encountered issues in these areas:
- dragdrop inside the component/node and between swing/fx
- repaint issues, sometimes the jfxpanel would appear all black
- resize issues, changes to the content of either swingnode or jfxpanel 
would not be passed to the containing element
- can't tab from components in a jfxpanel to nodes of the containing scene
- for a combobox in a jfxpanel in a swingnode: can't select elements 
from the dropdown, even clicking the dropdown scrollbar would close the 
dropdown
- reduced framerate / increased cpu load inside jfxpanel, especially for 
animations

Some of these are resolved, others are not (issues were reported). I'd 
recommend to test the above early if relevant for your application.

Werner

On 27.01.2015 20:36, Pedro Duque Vieira wrote:
> Hi,
>
> I'm migrating a Swing app and I have a scenario where I need to have a
> SwingNode inside a JFXPanel and also a JFXPanel inside a SwingNode.
>
> Are this configurations possible?
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic