* Sets the <code>model</code> displayed by this component.
* The model is shown at its default orientation and in a box of 1 unit wide.
*/
public void setModel(BranchGroup model) {
TransformGroup modelTransformGroup = (TransformGroup)this.sceneTree.getChild(0);
modelTransformGroup.removeAllChildren();
if (model != null) {
model = (BranchGroup)ModelManager.getInstance().cloneNode(model);
model.setCapability(BranchGroup.ALLOW_DETACH);
setNodeCapabilities(model);