487

Creating backgrounds
Application bounds example code

  • Set bounds relative to the background's coordinate system
    Background myBack = new Background( );
    myBack.setApplicationBounds( myBounds );

  • Or relative to a bounding leaf's coordinate system
    TransformGroup myGroup = new TransformGroup( );
    BoundingLeaf myLeaf = new BoundingLeaf( myBounds );
    myGroup.addChild( myLeaf );
    . . .
    Background myBack = new Background( );
    myBack.setApplicationBoundingLeaf( myLeaf );