new3DComponent.loadStructure(structure3D);
} catch (Exception e) {
String errorMessage = "Could not load 3D structure\n"
+ "Exception: " + ExceptionUtils.exceptionToString(e);
MultiLineLabel label = new MultiLineLabel(errorMessage, 10);
splitPane.setRightComponent(label);
splitPane.setDividerLocation(500);
}
}