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)


vrml.Browser object provides all the features we saw in Browser object in ECMAScript.
public class ExampleGetBrowser extends Script {
private MFString target_url; // field (see VRML for reason for this)
private Browser browser;
public void initialize(){
target_url = (MFString)getField("target_url");
browser = this.getBrowser();
}
}
Critical Link



© 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