Support for Java applets.
    In order to produce a jar archive containing an applet, it is
    necessary to link the application with the 
 -applet k
    command-line switch, where 
 k designates the kind of applet
    (AWT-, Swing-, or Graphics-based). An applet class will be generated,
    with the name 
pack.ocamljavaApplet where 
pack can be set
    using the 
 -java-package pack command-line switch.
    When linking with the 
 -applet k command-line switch, the last
    module to be linked has to be compatible with one of the module types
    of the 
JavaApplet module, the exact module type depending on the
    value of 
 k. The following table gives the module types and
    default implementations (modules compatibles with the module types,
    with only no-op functions) for the different applet kinds.
    
  The various kinds of applets.
               |  parameter to  -applet | 
                    module type | 
                    default implementation | 
               |   awt | 
                    AWT | 
                    Default_AWT | 
               |   swing | 
                    Swing | 
                    Default_Swing | 
               |   graphics | 
                    Graphics | 
                    Default_Graphics |