void (@NotNull AnActionEvent e) { Splash splash = new Splash(Objects.requireNonNull(loadSplashImage(ApplicationInfoImpl.getShadowInstance()))); splash.setVisible(true); splash.toFront(); SplashListener listener = new SplashListener(splash); splash.addFocusListener(listener); splash.addKeyListener(listener); splash.addMouseListener(listener); }