Cmlog Java Swing Browser
CMLOG Java Browser is implemented using Java Swing package and
Java Cmlog Browser APIs which requires Java
1.2+ run time environment on your desktop. It can be started either from command line
or from the
Java WebStart which automatically downloads and manages all jar files
related to the cmlog package. The Java Browser
needs read/write privilege of a configuration file
on one's desktop. Therefore you should grant this privilege when the
WebStart ask you for this permission even though the WebStart warns about
granting this permission.
Using Java Swing Browser through the WebStart.
- Install the Java Web Start software.
- Click the link to launch the
Java Swing Cmlog Browser.
Using Java Swing Browser via Command line.
- Download cmlog.jar file from CMLOG java Jar file or
you can build this jar file from
the latest CMLOG source
distribution. The Java package has to be compiled inside directory CMLOG/java
after creating classes and docs sub-directories in the directory.
- Install the jar file in any directory and add the jar file to your java CLASSPATH
environment variable. Then the browser can be invoked by "java cmlog.gui.Jcmlog".
Where should the configuration file be installed?
The Java browser requires a configuration file called .jcmlogrc which currently
can be identical to the configuration file for the Motif browser. This file on Unix
machines should be located in one's home directory. On Windows 2000 (NT) machines it
most likly should be located in C:\WINNT\Profiles\xxxxxx\ directory where xxxxxx is
the logging name for a user on that machine. In addition the .jcmlogrc can have several
more fields related to the Java browser. They are :
- server which specifies possible cmlog server host names.
- port which specifies possible cmlog server port numbers.
- protocol which specifies what protocol this browser is using. It can
be either 1 or 2.
Please take a look at a sample .jcmlogrc file.
Capabilities of the Java Browser.
The Java browser has most capabilities that the Motif browser offers. But it lacks
several features such as displaying error code in different color, displaying strings
for a set of integers, and invoking user script. Those features will be added in future releases.