402

Creating Backgrounds
Background Geometry Example Code


TransformGroup group = new TransformGroup( );
. . .
BranchGroup branch = createBackground( );
. . .
Background back = new Background( );
back.setGeometry( branch );
. . .
back.setApplicationBounds( bounds );
group.addChild( back );