try {
JGraphpadLibrary library = (JGraphpadLibrary) editor.getModel()
.addFile(PATH_DEFAULTLIBRARY);
if (library != null) {
editor.getModel().setFilename(library,
JGraphEditorResources.getString("DefaultLibrary"));
library.setNew(true);
}
} catch (Exception e) {
}