Graphikversion 0.4-Plugin



Java Plugin

Bei dieser Anwendung wird explizit Java 1.5 (Version 5) angefordert, da die integrierte RMI-API diese Version benötigt. Ist es nicht im Browser vorgesehe, wird ein Versionkonflikt gemeldet. Hier das Demo-Beispiel:

Parameter des Plugins

name="file" value="<svgFileUrl>"
URL der svg-Datei des Friedhofs z.B: file:currTest.svg.
name="menu" value="on|off"
Einblenden der Menüleiste. Default ist off.
name="toolbar" value="on|off"
Einblenden der Toolbar. Default ist on.
name="propPanel" value="on|off"
Einblenden des Fensters mit der Attributausgabe. Default ist off.
name="debug" value="on|off"
Einschalten der Debug und Traceausgaben. Sie werden mit log4j ausgeführt, wobei das Standardausgabeformat angewendet wird, da für Applets der Zugriff auf lokale Dateien verwehrt ist. Default ist off.

Bei Parametern mit Schalterfunktion (on|off) werden alle Eingaben außer on oder ON werden als off interpretiert.

Vorteile des Plugins

Kopie aus der Sun Dokumentation:

Other Enhancements

In addition to the support for the APPLET tag described above, the Java Plug-in has many performance and architecture enhancements that will make it more suitable for widespread use on consumer client machines that typically are not as powerful as client platforms in an enterprise environment. Some of these enhancements are summarized below.

Memory management

Performance

Status der Applet-Technologie

Kopie aus der Sun Dokumentation:

Using the applet tag

You use the applet tag to deploy applets to a multi-browser environment.

For complete details on the applet tag, read the W3 HTML specification.

Note: The HTML specification states that the applet tag is deprecated, and that you should use the object tag instead. However, the specification is vague about how browsers should implement the object tag to support Java applets, and browser support is currently inconsistent. Sun therefore recommends that you continue to use the applet tag as a consistent way to deploy Java applets across browsers on all platforms.

Following is an example of the applet tag:

<applet code=Applet1.class width="200" height="200">
Your browser does not support the <code>applet</code> tag.
</applet>

For both Internet Explorer and the Mozilla family of browsers, if Java Plug-in is installed (version 1.3.1_01a or later) then the highest installed version of Java Plug-in is invoked to run the applet.

Note: You cannot use the applet tag to automatically download a JRE if one is not installed locally.

Copyright © 2004/2005,Ingenieurbüro Denner, München. All rights reserved.