public void setBottomView(org.lgna.croquet.views.SwingComponentView<?> bottom) {
   synchronized (this.getTreeLock()) {
     //			org.lgna.croquet.views.AwtComponentView<?> component =
     // this.mainPanel.getPageEndComponent();
     //			if( component != null ) {
     //				this.mainPanel.removeComponent( component );
     //			}
     //			this.mainPanel.addPageEndComponent( bottom );
     StickyLayout stickyLayout = this.getLayout();
     java.awt.Component awtComponent = stickyLayout.getBottomComponent();
     if (awtComponent != null) {
       this.getAwtComponent().remove(awtComponent);
     }
     this.internalAddComponent(
         bottom, org.lgna.croquet.views.BorderPanel.Constraint.PAGE_END.getInternal());
   }
 }
 public void setTopView(org.lgna.croquet.views.SwingComponentView<?> top) {
   synchronized (this.getTreeLock()) {
     //			org.lgna.croquet.views.AwtComponentView<?> component =
     // this.mainPanel.getCenterComponent();
     //			if( component != null ) {
     //				this.mainPanel.removeComponent( component );
     //			}
     //			this.mainPanel.addCenterComponent( top );
     StickyLayout stickyLayout = this.getLayout();
     java.awt.Component awtComponent = stickyLayout.getMainComponent();
     if (awtComponent != null) {
       this.getAwtComponent().remove(awtComponent);
     }
     this.internalAddComponent(
         top, org.lgna.croquet.views.BorderPanel.Constraint.CENTER.getInternal());
   }
 }