return new Dimension(500, 326);
Dimension tp = topPanel.getPreferredSize(); Dimension bp = bottomPanel.getPreferredSize(); Dimension bup = buttonPanel.getPreferredSize(); Dimension fl = fileList.getPreferredSize(); return new Dimension((tp.width + bp.width + bup.width + fl.width), (tp.height + bp.height + bup.height + fl.height));
  public Dimension getPreferredSize(JComponent c)  {    // FIXME: not likely to be a fixed value    return new Dimension(500, 326);  }