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