public Dimension preferredLayoutSize(java.awt.Container parent) {
   return parent.getSize();
 }
 public Dimension minimumLayoutSize(java.awt.Container parent) {
   return parent.getMinimumSize();
 }