Installation

Unpack the Library

The library is delivered in a zip archive file. Unpack the archive file using a suitable utility, e.g. WinZip (on windows) or the unzip command (on Unix). Once unzipped you will find the library jar file (builder-2.3.x.jar) as well as supporting documentation. It is important to first read through the release notes. The API documentation is a valuable reference for developing applications using the library.

Activate the Library

Unless you are using an evaluation copy of the library (which will automatically expire) you need to activate the library. There are two options for activating the library:

Option 1 - Using the license key file

Locate the license key file provided in your Tonic Systems web folder (created for you with your purchase) in the file tonic-license.txt.

Place this file in the same directory as the library jar file. When you use the library, it will automatically load the license key.

Option 2 - Programmatically

Before opening the first presentation, call the public static method:

com.tonicsystems.license.LicenseManager.setLicense(String license)

with the license key value supplied in your license key file as the argument.

For example, if your license key is "AAAA-BBBB-CCCC-DDDD", then call:

com.tonicsystems.license.LicenseManager.setLicense("AAAA-BBBB-CCCC-DDDD");

You only need to do this once each time the JVM is started, however, multiple calls are allowed.


Page generated: 2008-01-18 02:53:28 GMT TonicPoint Builder Developer's Guide -- Version 2.3