The next Component class code
2040 // lightweight component location needs to be translated
2041 // relative to a native component.
2042 Container host = getNativeContainer();
2043 Point pt = host.peer.getLocationOnScreen();
may cause NPE in line 2043 in case of concurrent execution.
2040 // lightweight component location needs to be translated
2041 // relative to a native component.
2042 Container host = getNativeContainer();
2043 Point pt = host.peer.getLocationOnScreen();
may cause NPE in line 2043 in case of concurrent execution.