@Override
    public Object valueOf(Object o) {
      if (o instanceof MyTreeNode node) {
        return node.getText();
      }
      return o.toString();
    }
@Override
    public Object valueOf(Object o)