((AbstractLibraryFrame) desktop.getSelectedFrame()).ExtractSelectedPatch();
((AbstractLibraryFrame) JSLDesktop.getSelectedFrame()).ExtractSelectedPatch();
        public void actionPerformed(ActionEvent e) {            try {		((AbstractLibraryFrame) desktop.getSelectedFrame()).ExtractSelectedPatch();	    } catch (Exception ex) {		ErrorMsg.reportError("Error", "Can not Extract (Maybe its not a bank?)", ex);	    }        }