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