    FOREIGN MODULE java_applet;

    IMPORT
        java_lang,
        java_net,
        java_awt,
        java_util,
        java_awt_event,
        java_io,
        java_awt_image,
        java_awt_peer,
        sun_awt,
        java_awt_dnd,
        java_beans,
        java_awt_im;

    TYPE

      Applet* = POINTER TO EXTENSIBLE RECORD (java_awt.Panel)
                STATIC
                  PROCEDURE Init*() : Applet,CONSTRUCTOR;
                  PROCEDURE newAudioClip*(p0 : java_net.URL) : AudioClip;
                END;

      AppletContext* = POINTER TO INTERFACE RECORD (java_lang.Object)
                       END;

      AppletStub* = POINTER TO INTERFACE RECORD (java_lang.Object)
                    END;

      AudioClip* = POINTER TO INTERFACE RECORD (java_lang.Object)
                   END;

    PROCEDURE (self:Applet) destroy*(),NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getAppletContext*() : AppletContext,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getAppletInfo*() : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getAudioClip*(p0 : java_net.URL) : AudioClip,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getAudioClip*(p0 : java_net.URL;
                                          p1 : java_lang.String) : AudioClip,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getCodeBase*() : java_net.URL,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getDocumentBase*() : java_net.URL,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getImage*(p0 : java_net.URL) : java_awt.Image,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getImage*(p0 : java_net.URL;
                                      p1 : java_lang.String) : java_awt.Image,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getLocale*() : java_util.Locale,EXTENSIBLE;

    PROCEDURE (self:Applet) getParameter*(p0 : java_lang.String) : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) getParameterInfo*() : POINTER TO ARRAY OF java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) init*(),NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) isActive*() : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) play*(p0 : java_net.URL),NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) play*(p0 : java_net.URL;
                                  p1 : java_lang.String),NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) resize*(p0 : INTEGER;
                                    p1 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:Applet) resize*(p0 : java_awt.Dimension),EXTENSIBLE;

    PROCEDURE (self:Applet) setStub*(p0 : AppletStub),NEW;

    PROCEDURE (self:Applet) showStatus*(p0 : java_lang.String),NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) start*(),NEW,EXTENSIBLE;

    PROCEDURE (self:Applet) stop*(),NEW,EXTENSIBLE;

    PROCEDURE (self:AppletContext) getApplet*(p0 : java_lang.String) : Applet,NEW,ABSTRACT;

    PROCEDURE (self:AppletContext) getApplets*() : java_util.Enumeration,NEW,ABSTRACT;

    PROCEDURE (self:AppletContext) getAudioClip*(p0 : java_net.URL) : AudioClip,NEW,ABSTRACT;

    PROCEDURE (self:AppletContext) getImage*(p0 : java_net.URL) : java_awt.Image,NEW,ABSTRACT;

    PROCEDURE (self:AppletContext) showDocument*(p0 : java_net.URL),NEW,ABSTRACT;

    PROCEDURE (self:AppletContext) showDocument*(p0 : java_net.URL;
                                                 p1 : java_lang.String),NEW,ABSTRACT;

    PROCEDURE (self:AppletContext) showStatus*(p0 : java_lang.String),NEW,ABSTRACT;

    PROCEDURE (self:AppletStub) appletResize*(p0 : INTEGER;
                                              p1 : INTEGER),NEW,ABSTRACT;

    PROCEDURE (self:AppletStub) getAppletContext*() : AppletContext,NEW,ABSTRACT;

    PROCEDURE (self:AppletStub) getCodeBase*() : java_net.URL,NEW,ABSTRACT;

    PROCEDURE (self:AppletStub) getDocumentBase*() : java_net.URL,NEW,ABSTRACT;

    PROCEDURE (self:AppletStub) getParameter*(p0 : java_lang.String) : java_lang.String,NEW,ABSTRACT;

    PROCEDURE (self:AppletStub) isActive*() : BOOLEAN,NEW,ABSTRACT;

    PROCEDURE (self:AudioClip) loop*(),NEW,ABSTRACT;

    PROCEDURE (self:AudioClip) play*(),NEW,ABSTRACT;

    PROCEDURE (self:AudioClip) stop*(),NEW,ABSTRACT;

    END java_applet.