outsideVolumeSlider.setValue(originalOutsideAudioVolume);
fullVolumeRadiusSpinner.setValue(originalBounds.getX());
showBoundsCheckBox.setSelected(originalShowBounds);
BoundingVolume bounds = editor.getCell().getLocalBounds();
if (bounds instanceof BoundingSphere) {
float radius = ((BoundingSphere) bounds).getRadius();
String text = BUNDLE.getString("Sphere_With_Radius");
text = MessageFormat.format(text, (Math.round(radius * 10) / 10f));
boundsLabel.setText(text);
} else if (bounds instanceof BoundingBox) {
Vector3f extent = new Vector3f();
extent = ((BoundingBox) bounds).getExtent(extent);
showBoxBounds("Box", extent);
} else if (bounds instanceof OrientedBoundingBox) {
Vector3f extent = ((OrientedBoundingBox) bounds).getExtent();
showBoxBounds("OrientedBox", extent);
} else {
boundsLabel.setText(bounds.toString());
}
showBounds();
inRestore = false;
}