Subsections


Simple Example

JPenExample.java shows how to listen pen events over a component and print them on the standard output.

Running the Example on Linux

  1. Launch a bash shell and make shure that you have the following files in the current directory:

  2. Run the following commands:

    $ export LD_LIBRARY_PATH=.

    $ java -cp jpen-2.jar:. JPenExample

Running the Example on Windows

  1. Prepare a directory with the following files:

  2. Open a Command Prompt, go to the directory created in the previous step, and run:

    java -cp jpen-2.jar;. JPenExample

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