public static boolean isGotItButton(Component c) {
    return c instanceof AbstractButton && ((JComponent)c).getClientProperty("gotItButton") == Boolean.TRUE;
  }
public static boolean isGotItButton(Component c)