checkCommandMenus();
	protected DesktopListener createDesktopListener() {	    return new DesktopListener() {			public void drawingViewAdded(DesktopEvent dpe) {				DrawingView dv = dpe.getDrawingView();				fireViewCreatedEvent(dv);			}			public void drawingViewRemoved(DesktopEvent dpe) {				DrawingView dv = dpe.getDrawingView();				fireViewDestroyingEvent(dv);			}			public void drawingViewSelected(DesktopEvent dpe) {				DrawingView dv = dpe.getDrawingView();				//get the current selection and freeze it.				if (dv != null) {					if (dv.drawing() != null)						dv.unfreezeView();				}				setView(dv);			}	    };	}