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

Anthony Petrov anthony.petrov at oracle.com
Tue Jan 29 06:14:13 PST 2013


On 1/29/2013 18:10, Anton V. Tarasov wrote:
> On 28.01.2013 17:14, Anthony Petrov wrote:
>> On 01/28/13 11:37, Anton V. Tarasov wrote:
>>> Clicking on the stage title doesn't close the popup, unless the event is
>>> specially handled (which is not yet implemented). So, at least there's
>>> an issue with torn-off popups when moving a stage with its title. (I
>>> think it's solvable).
>>
>> I think we should try and implement this in the initial implementation 
>> of SwingNode. This is a very annoying bug, and the solution is 
>> relatively simple - delegate the grab/ungrab requests for the Swing 
>> "frame" to FX, and send the UNGRAB event from FX back to Swing. This 
>> should fix 99% problems with popups.
>>
> 
> Ok, I did it.

Thanks!

--
best regards,
Anthony


More information about the openjfx-dev mailing list