desktop.add(frame);
JSLDesktop.add(frame);
    private static void createLibraryFrame() {        LibraryFrame frame = new LibraryFrame();        frame.setVisible(true);        desktop.add(frame);        try {	    frame.setSelected(true);	} catch (java.beans.PropertyVetoException e) {	}    }