// if there is one.
// FIXME: How do we make changes to the library persistent?
boolean gotLibrary = false;
try {
LibraryAttribute libraryAttribute = (LibraryAttribute) entity
.getAttribute("_library", LibraryAttribute.class);
if (libraryAttribute != null) {
// The model contains a library.
try {
_topLibrary = libraryAttribute.getLibrary();
gotLibrary = true;
} catch (SecurityException ex) {
System.out.println("Warning: failed to parse "
+ "_library attribute (running in an applet "
+ "or sandbox always causes this)");