On Wed, 28 Jun 2023 22:05:50 GMT, Nikita Provotorov <[email protected]> wrote:
> Have you tried to use just _java.awt.Component#getLocationOnScreen_? Thanks for reply. 1, I will research the document. I tested some linux oses, only ubuntu has problem. Is there a macro to tell us the system is ubuntu? 2, On linux, IME need the offset position of JTextArea from focus window(frame/dialog). So we use a loop to get it. Good luck! ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13055#discussion_r1298420333
