JComponent () { DeploymentLogManagerImpl logManager = getLogManager(); return logManager != null && logManager.isMainHandlerVisible() ? logManager.getMainLoggingHandler().getConsole().getComponent() : null; }