Answer:
Add your java application to the trialware protected list.
Optional
Displaying the "Registration" page from your Java application
When your application is running in trial you may initiate the display of "Registration" page by calling the DisplayRegistration native method of your main class with the following signature:
public native static short DisplayRegistration();
Retrieving licensing or trial information
To read licensing properties you must use the GetPropertyValue native method of your main class with the following signature:
public native static String GetPropertyValue(String aName) throws Exception;