@Override public Dimension getPreferredSize() {
      JTable table = getTable();
      myPreferredSize.width = table.getWidth();

      return myPreferredSize;
    }
@Override public Dimension getPreferredSize()