JME Molecular Editor

Installation Instructions


Using the JME applet within an HTML page

Recommended HTML code is

<applet code="JME.class" name="JME" archive="JME.jar" width="360" height="335">
<param name="options" value="list of keywords">
To use JME enable Java in your browser options !
</applet>

If you are updating from an older version of JME please note that you have to change JME.zip to JME.jar in the applet's archive tag.

You can modify width and height parameters according to your requirements, or to add the codebase parameter.
The warning "To use JME ..." appears only when Java is not enabled in the web browser.

By using the parameter "options" you can modify some editor features by placing respective keywords into the value field. See description of function JME.options() for a list of recognized options.
The parameter tag may look for example like this
<param name="options" value="query,nohydrogens">

If you want to start the applet directly with a molecule in it, you can do this by providing one of the following lines in the applet tag:
<param name="jme" value="molecule in the jme format">
or
<param name="mol" value="MDL mol file or rxn file">

When supplying MDL file as a parameter, it is necessary to add the | character at the end of each line (HTML removes newline characters and without | the JME mol parser would not be able to process the file correctly).
Another possibility is to read a molecule by JME functions readMolecule or readMolFile, launched by the onLoad event handler.
Both these possibilities are illustrated in example3.
When using MDL mol or rxn files as function parameters, take care to respect exactly the MDL mol/rxn file format conventions.
The editor is compiled under Java 1.3, but uses only Java 1.1 features, so it should work also with older versions of browsers.

The JME editor may be used also as an application in a standalone mode without a web browser, provided you have Java runtime environment available. Start the program with

java -jar JME.jar "list of keywords"