Customizing using Java

Java programs can communicate with HoTMetaL PRO via the COM interface if HoTMetaL PRO is running.

You need to have the latest Java SDK from Microsoft installed. The SDK is available from http://www.microsoft.com/java/download.

Now carry out the following steps:

Example

Consider the following small sample program (call it RunHmpro6.java):

import com.sq.hmpro6.*;
class RunHmpro6 {
  static public void main (String [] args) {
    _Application app = new Application();
    app.getSelection().TypeText("Hello from Java");
  }
}
jview RunHmpro6

Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999