void () { if (SystemInfoRt.isWindows && JnaLoader.isLoaded()) { try { var remotePID = Long.parseLong(Files.readString(myLockFile)); User32Ex.INSTANCE.AllowSetForegroundWindow(new WinDef.DWORD(remotePID)); } catch (Throwable t) { LOG.debug(t); } } }