Easier placement of stages with positioning anchor

Andy Goryachev andy.goryachev at oracle.com
Tue Nov 25 21:57:07 UTC 2025


This is just about convenience, since all the desired positions can be pre-computed and the Stage can be positioned using existing public APIs, right?

-andy

From: openjfx-dev <openjfx-dev-retn at openjdk.org> on behalf of Michael Strauß <michaelstrau2 at gmail.com>
Date: Tuesday, November 25, 2025 at 11:04
To: openjfx-dev <openjfx-dev at openjdk.org>
Subject: Easier placement of stages with positioning anchor

I've prepared a small enhancement for Stage that allows applications
to show a stage relative to a reference point, similar to how popups
work. This is a useful addition for a potential system tray support
(where windows are often placed relative to a system tray icon), but
also comes in handy for multi-window applications.

Comments are welcome.

PR: https://github.com/openjdk/jfx/pull/1986
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20251125/88770e8a/attachment-0001.htm>


More information about the openjfx-dev mailing list