@Override
      public void componentResized(ComponentEvent e) {
        // invalidate, revalidate etc. may have no 'size' effects, you need to manually invalidateSizes before.
        updateSizes();
      }
@Override
      public void componentResized(ComponentEvent e)