private static boolean checkError(Component c) {
      DarculaUIUtil.Outline outline = DarculaUIUtil.getOutline((JComponent)c);
      return DarculaUIUtil.isWarningOrError(outline);
    }
private static boolean checkError(Component c)