On Thu, 5 Sep 2024 10:00:44 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:
> > It's used inside `EventQueue`, then have to covert to atomic. Better to > > retain as it is. > > I guess only `Point point = checkbox.getLocationOnScreen();` should be enough > to access on EDT, rest of the code can be executed on main thread. Then have to move `point` out of EDT. Can do it. ------------- PR Comment: https://git.openjdk.org/jdk/pull/20723#issuecomment-2331122794