void () { if (!ApplicationManager.getApplication().isUnitTestMode()) { if (myFrameWrapper != null) { TabInfo info = getEditPanel().getTabs().getSelectedInfo(); if (info != null) { UiNotifyConnector.doWhenFirstShown(info.getComponent(), () -> ApplicationManager.getApplication().invokeLater(() -> { LOG.info("Startup took: " + ManagementFactory.getRuntimeMXBean().getUptime() + " ms"); })); } } } }