public void actionPerformed (ActionEvent e) { try { SortDialog sd = new SortDialog (PatchEdit.this); sd.show (); } catch (Exception ex) {ErrorMsg.reportError ("Error","Library to Sort must be Focused",ex);};
public void actionPerformed(ActionEvent e) { try { SortDialog sd = new SortDialog(PatchEdit.this); sd.show(); } catch (Exception ex) { ErrorMsg.reportError("Error", "Library to Sort must be Focused", ex); }
        public void actionPerformed (ActionEvent e)        {            try            {                SortDialog sd = new SortDialog (PatchEdit.this);                sd.show ();            } catch (Exception ex)            {ErrorMsg.reportError ("Error","Library to Sort must be Focused",ex);};        }