code: public void setAbove(Component aboveContent) {
  
          if (m_mainPanel.getComponentIndex(m_contentPanel) == 0) {
              m_mainPanel.addComponent(aboveContent, 0);
          } else {
              m_mainPanel.replaceComponent(m_mainPanel.getComponent(0), aboveContent);
          }
      }
docs: Sets the content to be displayed above the main content.<p>
  
  @param aboveContent the above content