private static boolean shouldAttach(Component t) {
        return t instanceof JBTable || Boolean.TRUE.equals(ClientProperty.get(t, ATTACH_STATUS_TEXT));
      }
private static boolean shouldAttach(Component t)