@Override
    public void layoutContainer(Container parent) {
      // propagate bound to all children
      for(int i = 0; i< getComponentCount(); i++) {
        getComponent(i).setBounds(0, 0, getWidth(), getHeight());
      }
    }
@Override
    public void layoutContainer(Container parent)