protected WSDisplay createDisplay(Frame owner){
  WSDisplay wsd;
  if (persistentDisplayType == null && Environment.getBoolean(Environment.UseInternalFrames)) {
    wsd=new IntrnlFrm(title);
  }
 else {
    Class wTypeClass=persistentDisplayType == null ? getDefaultWindowSupportDisplayType() : persistentDisplayType;
    if (wTypeClass == Dlg.class) {
      wsd=new Dlg(owner,title);
    }
 else     if (wTypeClass == IntrnlFrm.class) {
      wsd=new IntrnlFrm(title);
    }
 else {
      wsd=new Frm(title);
    }
  }
  setFavIcon(wsd);
  setDisplay(wsd);
  return wsd;
}

protected WSDisplay createDisplay ( Frame owner ) { WSDisplay wsd ; if ( persistentDisplayType == null && Environment . getBoolean ( Environment . UseInternalFrames ) ) { wsd = new IntrnlFrm ( title ) ; } else { Class wTypeClass = persistentDisplayType == null ? getDefaultWindowSupportDisplayType ( ) : persistentDisplayType ; if ( wTypeClass == Dlg . class ) { wsd = new Dlg ( owner , title ) ; } else if ( wTypeClass == IntrnlFrm . class ) { wsd = new IntrnlFrm ( title ) ; } else { wsd = new Frm ( title ) ; } } setFavIcon ( wsd ) ; setDisplay ( wsd ) ; return wsd ; }
called when a component hasn ' t specified what kind of window they want . if the environment . useinternalframes flag isn ' t set , then the getdefaultwindowsupportdisplaytype ( ) method is called to find out which wsdisplay type class should be created for the component . if that returns null , a frm is created .
