Scheduling bounds example code

Set bounds relative to the behavior's coordinate system

Behavior myBeh = new MyBehavior( );
myBeh.setSchedulingBounds( myBounds );

Or relative to a bounding leaf's coordinate system

TransformGroup myGroup = new TransformGroup( );
BoundingLeaf myLeaf = new BoundingLeaf( bounds );
myGroup.addChild( myLeaf );
. . .
Behavior myBeh = new MyBehavior( );
myBeh.setSchedulingBoundingLeaf( myLeaf );