License4J QuickStart Licensing Example Application

This application demonstrates usage of quick start example in a swing application. Quick start licensing example includes all required dialogs and code to get license information from user and validate/activate.

Which License Types can be used

With quick start example file, you can validate license key, license text and activate if activation return type is a license text.

This application checks for license if there is no license, then brings up license information dialog. License information dialog has "activate" "change license" buttons. To install a license, click on "change license" button, and license input GUI will come up. License input gui has 3 options.

With first option you can hard-code your trial license in your software and customer may directly use it (it should be a license key/text with enabled activation, also validity period should be set to something like 30 days, the trial period. One final important requirement about license: on license actiavtion step while generating license, do not forget to select "set license generation date time to ..." checkbox, so trial period will begin when license is activated.)

With the second option, customer can install license key.

With the third option, customer can install a license file by browsing with file chooser. The license file can also be an activated license text. e.g. You can get hardware IDs from customer by e-mail, then use license manager gui and add a manual activation and send license text to customer by e-mail. Finally, customer use this option and directly install activated license.

Sample licenses to test:

All the following licenses are hosted on Online.License4J and their quantity is set to 999999. So you can use them to test application.