home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 August / PCO0897.ISO / filesbbs / os2 / fp1os2.arj / OS2 / DATA / 49 / C / 0 / F_26836 / JScriptAppletObject.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-05-15  |  863 b   |  21 lines

  1. import java.applet.Applet;
  2. import java.io.FileNotFoundException;
  3. import stardiv.classfile.ClassFormatException;
  4.  
  5. public class JScriptAppletObject extends JScriptJavaObject {
  6.    private static final String NAME = "applet";
  7.  
  8.    public JScriptAppletObject(Applet var1, String var2) throws ClassNotFoundException, ClassFormatException, FileNotFoundException {
  9.       super(var1);
  10.  
  11.       try {
  12.          ((JSbxObject)this).Put(new JSbxValueProperty("name", this, new JSbxValue(var2), true, false));
  13.       } catch (JSbxException var3) {
  14.       }
  15.    }
  16.  
  17.    public String GetJScriptString(boolean var1) {
  18.       return "applet";
  19.    }
  20. }
  21.