frame.setVisible(true); frame.open(file); desktop.add(frame); } catch (Exception e) { SceneFrame frame2=new SceneFrame(file); try { frame2.setVisible(true); frame2.open(file); desktop.add(frame2); } catch (Exception e2) { ErrorMsg.reportError("Error","Error Loading Library",e2);return;} try { frame2.setSelected(true); } catch (java.beans.PropertyVetoException e2) {}
frame.setVisible(true); frame.open(file); desktop.add(frame); } catch (Exception e) { SceneFrame frame2 = new SceneFrame(file); try { frame2.setVisible(true); frame2.open(file); desktop.add(frame2); } catch (Exception e2) { ErrorMsg.reportError("Error", "Error Loading Library", e2); return;
    protected void openFrame(File file) {        LibraryFrame frame = new LibraryFrame(file);        try {            frame.setVisible(true);            frame.open(file);            desktop.add(frame);        } catch (Exception e) {            SceneFrame frame2=new SceneFrame(file);            try {                frame2.setVisible(true);                frame2.open(file);                desktop.add(frame2);            } catch (Exception e2) {                ErrorMsg.reportError("Error","Error Loading Library",e2);return;}            try {                frame2.setSelected(true);             } catch (java.beans.PropertyVetoException e2)             {}	    }        try {            frame.setSelected(true);        } catch (java.beans.PropertyVetoException e)        {}	    }