void (@Nullable JFrame frame, boolean critical) { EDT.assertIsEdt(); try { if (!Taskbar.isTaskbarSupported()) return; Taskbar.getTaskbar().requestUserAttention(true, critical); } catch (Exception e) { LOG.error(e); } }