code: public ApplicationPage createApplicationPage(ApplicationWindow window, PageDescriptor descriptor) {
          if (reusePages) {
              VLDockingApplicationPage page = findPage(window, descriptor);
              if (page != null) {
                  return page;
              }
          }
          VLDockingApplicationPage page = new VLDockingApplicationPage(window, descriptor);
          if (reusePages) {
              cachePage(page);
          }
  
          window.addPageListener(new PageListener() {
              public void pageOpened(ApplicationPage page) {
                  // nothing to do here
              }
  
              public void pageClosed(ApplicationPage page) {
                  VLDockingApplicationPage vlDockingApplicationPage = (VLDockingApplicationPage) page;
                  saveDockingContext(vlDockingApplicationPage);
              }
          });
  
          return page;
      }
docs: /*
  (non-Javadoc)
  
  @see org.springframework.richclient.application.ApplicationPageFactory#createApplicationPage(org.springframework.richclient.application.ApplicationWindow,
  org.springframework.richclient.application.PageDescriptor)