public static Outline computeOutlineFor(Component c) {
    JComponent component = ObjectUtils.tryCast(c, JComponent.class);

    if (component != null) {
      Outline outline = getOutline(component);

      if (outline != null) {
        return outline;
      }
    }

    return Outline.focus;
  }
public static Outline computeOutlineFor(Component c)