Option to keep Stages always on top on JavaFX 8 ?
Stephen F Northover
steve.x.northover at oracle.com
Mon Dec 16 08:03:47 PST 2013
Look how low the bug number is ... we must fix this.
On 2013-12-16 8:54 AM, Anthony Petrov wrote:
> Hi Peter,
> You might want to watch this bug:
> best regards,
> On 12/16/2013 12:22 PM, Peter Penzov wrote:
>> Hi All,
>> I'm also interested in this. Can you share some information?
>> On Thu, Dec 12, 2013 at 12:27 AM, Herve Girod <herve.girod at gmail.com>
>>> I know that this option is not available for JavaFX 2.2, but is it
>>> for Java 8, and for what time frame if the answer is yes (for
>>> example, for
>>> initial release or later ?) .
>>> This is an important feature for us, because we need to show JavaFX
>>> on top of Windows created on other programs (for example, elements
>>> on top
>>> of a cartographic system produced by a C++ program, but it's just an
>>> As there is no alwaysOnTop API on Stage in JavaFX, a workaround is to
>>> create a Swing Window, put a JFXPanel in it, and the Scene in the
>>> However, multitouch gestures are not handled by Swing, so these are not
>>> working in this case.
>>> Our only option is then to put a Stage toFront(), and hope that the
>>> content won't pop on top of JavaFX while the user click on it.
>>> This is OK if no part of our Stage need to be transparent to user
>>> and also if all of the other Windows are created prior to the JavaFX
>>> is created, but it is not always possible, and we envision cases
>>> where our
>>> workaround won't work.
More information about the openjfx-dev