Update of /cvsroot/jsmooth/jsmooth/docs
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6644/docs
Modified Files:
jsmooth-doc.xml
Log Message:
adds the JNI Jsmooth documentation
Index: jsmooth-doc.xml
===================================================================
RCS file: /cvsroot/jsmooth/jsmooth/docs/jsmooth-doc.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** jsmooth-doc.xml 13 May 2007 20:01:46 -0000 1.21
--- jsmooth-doc.xml 18 May 2007 21:35:28 -0000 1.22
***************
*** 1044,1047 ****
--- 1044,1071 ----
</sect1>
+ <sect1><title>Using the JSmooth JNI functions</title>
+
+ <para> Some of the jsmooth wrappers provides Windows-specific JNI
+ features that allow your application to optionnaly access native
+ information.
+ </para>
+
+ <para> In order to use those features, you must enable the JSmooth
+ JNI option, and add the <function>jsmooth.Native</function> calls
+ in your java code. You need to build your project using the
+ <function>jnismooth.jar</function> library, but don't need to
+ package it with your application, as it is embedded (as well as the
+ native functions implementation) in the wrappers.
+ </para>
+
+
+ <para>Before using any JNI feature from the
+ <function>jsmooth.Native</function>, you must check that the
+ native methods are correctly bound to their native implementation
+ by using the <function>jsmooth.Native.isAvailable()</function>
+ method. If this method returns false, you cannot use any of the
+ native method.</para>
+
+ </sect1>
<sect1><title>Frequently Asked Question</title>
|