Class RMApplet

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer

public class RMApplet extends JApplet
This is an applet implementation used to host an RMViewer in a browser.
See Also:
  • Constructor Details

    • RMApplet

      public RMApplet()
      Creates applet.
  • Method Details

    • init

      public void init()
      Called automatically to initialize the applet.
      Overrides:
      init in class Applet
    • init2

      public void init2()
      Loads a document.
    • start

      public void start()
      Called when applet is started or revisited.
      Overrides:
      start in class Applet
    • stop

      public void stop()
      Called when applet is stopped.
      Overrides:
      stop in class Applet
    • previewApplet

      public static void previewApplet(RMDocument aDoc)
      Previews the given document in a browser: 1. Create applet html file in temp dir 2. Write document to temp dir 3. Copy jar file to temp dir 4. Open applet html file