((SceneFrame) desktop.getSelectedFrame()).sendScene();
((SceneFrame) JSLDesktop.getSelectedFrame()).sendScene();
        public void actionPerformed(ActionEvent e) {            try {		((SceneFrame) desktop.getSelectedFrame()).sendScene();	    } catch (Exception ex) {		ErrorMsg.reportError("Error", "Scene Library must be the selected window.", ex);	    }        }