@Override
        public void componentResized(ComponentEvent e) {
          if (e.getSource() instanceof MyRenderer renderer) {
            revalidateComponents(renderer.getBounds().y);
          }
        }
@Override
        public void componentResized(ComponentEvent e)