Subsections


JPen Demo

The JPen Demo can be used to test JPen on a given system.

Running the Demo on Linux

  1. Download and extract all the files from the library ZIP archive to a new directory.
  2. Launch a bash terminal and change your working directory to where you extracted the files. Then run the following commands:

    bash$ export LD_LIBRARY_PATH=.

    bash$ java -jar jpen-2.jar

  3. The Demo opens its main window (figure 1.1) where you can test and see how JPen reads data from the available pointing devices.
Figure 1.1: JPen Demo running on Linux
Image jpenDemo

Running the Demo on Windows

  1. Download and extract all the files from the library ZIP archive to a new directory.
  2. Use the Windows Explorer to open the directory where you extracted the files and double-click the file jpen-2.jar. The Demo opens its main window (figure 1.1).
  3. If double-clicking does not work, you can launch the jar file manually by opening a Command Prompt, changing (cd) to the directory where the files were extracted, and running the following command:

    java -jar jpen-2.jar

    Note: jpen-2.dll must be in the directory where you are running the example (or any other directory of your PATH) for JPen being able to load it. If jpen-2.dll can not be loaded, JPen will only get data from the Java AWT mouse (no pen pressure info).

Copyright 2007--2014 JPen - This document is licensed under the GNU FDL - latex2html/150301
Navigation icons are Copyrighted 1998 by Dean S. Jones