RFR: 8264728: When use chinese IME, the candidate box isn't moved with caret of JTextArea [v2]
柳鲲鹏
duke at openjdk.org
Fri Aug 18 12:58:29 UTC 2023
On Wed, 28 Jun 2023 22:05:50 GMT, Nikita Provotorov <duke at openjdk.org> 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
More information about the client-libs-dev
mailing list