home *** CD-ROM | disk | FTP | other *** search
/ Late Night VRML 2.0 with Java CD-ROM / code.zip / Ch12 / test.java < prev    next >
Text File  |  1997-01-02  |  217b  |  15 lines

  1. import java.applet.*;
  2. import netscape.javascript.JSObject;
  3.  
  4. public class test extends Applet
  5. {
  6.     public void init()
  7.     {
  8.         JSObject win;
  9.  
  10.         win = JSObject.getWindow(this);
  11.  
  12.         System.out.println("window is " + win);
  13.     }
  14. }
  15.