code: public void insert(Widget w, int beforeIndex) throws IndexOutOfBoundsException {
  
          insert(w, m_main, beforeIndex, true);
      }
docs: Inserts a child widget before the given index.<p>
  
  @param w the child widget
  @param beforeIndex the index
  
  @throws IndexOutOfBoundsException if the index is out of bounds