On extending Toolkit or GE public API
Maxim Kartashev
maxim.kartashev at jetbrains.com
Fri Jul 7 13:16:42 UTC 2023
Unlike all the other windowing systems that JDK supports, Wayland does not
let you position windows on the screen directly. I have just finished
implementing support for popup-style windows (popups, tooltips, menus)
using xdg_positioner and had to plug in many instances of "if
(can-position-windows)" in the common code (i.e. Swing). I wonder if this
warrants an amendment to the public API so those checks can be less ad-hoc?
What would be the procedure for introducing a new method to Toolkit of
GraphicsEnvironment?
References:
*
https://github.com/JetBrains/JetBrainsRuntime/commit/470c36bbd802bcf18c098c8d90502a6fb72099e3
* https://wayland.app/protocols/xdg-shell#xdg_positioner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/wakefield-dev/attachments/20230707/8725310c/attachment.htm>
More information about the wakefield-dev
mailing list