@Override
      public void componentRemoved(ContainerEvent e) {
        Component child = e.getChild();
        if (child instanceof ComponentWithEmptyText t && shouldAttach(child)) {
          t.getEmptyText().attachTo(child);
          myEmptyText = null;
        }
      }
@Override
      public void componentRemoved(ContainerEvent e)