Locale locale = new Locale( universe ); Shape3D shape = new Shape3D( geom, app ); . . . BranchGroup branch = new BranchGroup( ); branch.addChild( shape ); branch.compile( ); . . . locale.addBranchGraph( branch );