Draggable tabs

steve.x.northover at oracle.com steve.x.northover at oracle.com
Mon Mar 19 07:49:37 PDT 2012

Hi all,

What this means is that JFX will never interoperate with any arbitrary 
native operating system technology.  That's bad.

I understand both sides:  First off, application programmers just want 
to get the job done.  If getting the job done requires integrating 
native calls into JFX, then they need to get hold of the underlying 
operating system resources to feed the native calls.  On the other hand, 
the underlying operating system resources that FX relies on are 
different between the different platforms and have security implications.

Right now, if you want to integrate native technologies and FX, you can 
embed FX in Swing or SWT and make all the native calls you want from 
Swing or SWT.  I realize that this is not a great solution.  A better 
solution is to make the resources available in a controlled fashion.


On 19/03/2012 3:13 AM, Artem Ananiev wrote:
> On 3/17/2012 5:20 PM, Kevin Rushforth wrote:
>> Jonathan Giles wrote:
>>> On 16/03/2012 5:25 a.m., martin at percossi.com wrote:
>>>> Second question (speculative): Is it possible to get a "raw" window
>>>> handle (i.e. in Microsoft Windows)? Basically, if you're writing a
>>>> VST plugin host, you need to provide a parent window handle within
>>>> which the VST plugin can stuff its GUI. In the worst case, this would
>>>> create an entirely new window, but ideally, I would be able to get a
>>>> raw window handle and "place" the GUI into some part of the JavaFX
>>>> GUI. Am I asking for too much? ;)
>>> I'll leave this to the glass team to answer.
>> I'm not the glass team, but I doubt very much we would ever want to
>> expose this via public API. In addition to security concerns, it would
>> expose too much of the implementation, and would be very difficult to do
>> in a way that was robust and didn't tie our hands for future evolution.
> Completely agree here. Note that there may be no "raw" window handle 
> behind JFX scene/stage at all, for example when it's embedded in 
> JFXPanel or runs as applet on Mac OS X.
> Thanks,
> Artem
>> -- Kevin

More information about the openjfx-dev mailing list