void (boolean value) { WinFocusStealer stealer = ApplicationManager.getApplication().getService(WinFocusStealer.class); if (stealer != null && stealer.myEnabled) stealer.update(value); // the service is null on non-Windows machines }