org.jfree.ui.about.Licences Java Examples

The following examples show how to use org.jfree.ui.about.Licences. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JCommonInfo.java    From ccu-historian with GNU General Public License v3.0 4 votes vote down vote up
/**
 * Creates a new instance.
 */
private JCommonInfo() {

    // get a locale-specific resource bundle...
    final String baseResourceClass = "org.jfree.resources.JCommonResources";
    final ResourceBundle resources = ResourceBundleWrapper.getBundle(
            baseResourceClass);

    setName(resources.getString("project.name"));
    setVersion(resources.getString("project.version"));
    setInfo(resources.getString("project.info"));
    setCopyright(resources.getString("project.copyright"));

    setLicenceName("LGPL");
    setLicenceText(Licences.getInstance().getLGPL());

    setContributors(Arrays.asList(
        new Contributor[] {
            new Contributor("Anthony Boulestreau", "-"),
            new Contributor("Jeremy Bowman", "-"),
            new Contributor("J. David Eisenberg", "-"),
            new Contributor("Paul English", "-"),
            new Contributor("David Gilbert",
                    "[email protected]"),
            new Contributor("Hans-Jurgen Greiner", "-"),
            new Contributor("Arik Levin", "-"),
            new Contributor("Achilleus Mantzios", "-"),
            new Contributor("Thomas Meier", "-"),
            new Contributor("Aaron Metzger", "-"),
            new Contributor("Thomas Morgner", "-"),
            new Contributor("Krzysztof Paz", "-"),
            new Contributor("Nabuo Tamemasa", "-"),
            new Contributor("Mark Watson", "-"),
            new Contributor("Matthew Wright", "-"),
            new Contributor("Hari", "-"),
            new Contributor("Sam (oldman)", "-")
        }
    ));

    addOptionalLibrary(new Library("JUnit", "3.8", "IBM Public Licence",
            "http://www.junit.org/"));

    setBootClass(BaseBoot.class.getName());
}