# License4J Floating License Text Example Application

This example use new validateFloatingLicenseText and FloatingLicenseCheckTimerHandler.

## validateFloatingLicenseText

This the new method to validate floating license text. It is simplified, date arguments removed. This method runs new FloatingLicenseCheckTimerHandler which also keeps updated License object when run. Server connection error handler, license invalid handler and license valid handler are all combined in a single FloatingLicenseCheckTimerHandler. This handler is run when there is a server connection error, license is valid or for any reason invalid.
Since FloatingLicenseCheckTimerHandler runs all events, and has License object, it is easy to call any method depending on license validation status.

See MyFloatingHandler.java

## How To Run

To run this example install floating license server, generate a few example licenses. Finally, replace public key and productID with yours in LicenseInformationGUI.java file.