Basic HTML version of Foils prepared March 18 1998

Foil 21 Getting Handle of Browser Object in Script Node with Java

From Scripting and EAI in VRML97 CPS616 -- Information Track of CPS -- Spring Semester 98. by Hasan Ozdemir (Geoffrey C. Fox)


1 vrml.Browser object provides all the features we saw in Browser object in ECMAScript.
2
3 public class ExampleGetBrowser extends Script {
4 private MFString target_url; // field (see VRML for reason for this)
5 private Browser browser;
6 public void initialize(){
7 target_url = (MFString)getField("target_url");
8 browser = this.getBrowser();
9 }
10 }
11 Critical Link

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998