本文整理汇总了Java中org.jfree.ui.about.Licences类的典型用法代码示例。如果您正苦于以下问题:Java Licences类的具体用法?Java Licences怎么用?Java Licences使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Licences类属于org.jfree.ui.about包,在下文中一共展示了Licences类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: JCommonInfo
import org.jfree.ui.about.Licences; //导入依赖的package包/类
/**
* 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());
}
示例2: JCommonInfo
import org.jfree.ui.about.Licences; //导入依赖的package包/类
/**
* Creates a new instance.
*/
private JCommonInfo() {
// get a locale-specific resource bundle...
final String baseResourceClass = "org.jfree.resources.JCommonResources";
final ResourceBundle resources
= ResourceBundle.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());
}
示例3: JFreeChartInfo
import org.jfree.ui.about.Licences; //导入依赖的package包/类
/**
* Default constructor.
*/
public JFreeChartInfo() {
// get a locale-specific resource bundle...
String baseResourceClass = "org.jfree.chart.resources.JFreeChartResources";
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"));
setLogo(null); // load only when required
setLicenceName("LGPL");
setLicenceText(Licences.getInstance().getLGPL());
setContributors(Arrays.asList(new Contributor[] { new Contributor("Eric Alexander", "-"),
new Contributor("Richard Atkinson", "[email protected]"),
new Contributor("David Basten", "-"), new Contributor("David Berry", "-"),
new Contributor("Chris Boek", "-"), new Contributor("Zoheb Borbora", "-"),
new Contributor("Anthony Boulestreau", "-"), new Contributor("Jeremy Bowman", "-"),
new Contributor("Nicolas Brodu", "-"), new Contributor("Jody Brownell", "-"),
new Contributor("David Browning", "-"), new Contributor("Soren Caspersen", "-"),
new Contributor("Chuanhao Chiu", "-"), new Contributor("Brian Cole", "-"),
new Contributor("Pascal Collet", "-"), new Contributor("Martin Cordova", "-"),
new Contributor("Paolo Cova", "-"), new Contributor("Greg Darke", "-"),
new Contributor("Mike Duffy", "-"), new Contributor("Don Elliott", "-"),
new Contributor("David Forslund", "-"), new Contributor("Jonathan Gabbai", "-"),
new Contributor("David Gilbert", "[email protected]"),
new Contributor("Serge V. Grachov", "-"), new Contributor("Daniel Gredler", "-"),
new Contributor("Hans-Jurgen Greiner", "-"), new Contributor("Joao Guilherme Del Valle", "-"),
new Contributor("Aiman Han", "-"), new Contributor("Cameron Hayne", "-"),
new Contributor("Martin Hoeller", "-"), new Contributor("Jon Iles", "-"),
new Contributor("Wolfgang Irler", "-"), new Contributor("Sergei Ivanov", "-"),
new Contributor("Adriaan Joubert", "-"), new Contributor("Darren Jung", "-"),
new Contributor("Xun Kang", "-"), new Contributor("Bill Kelemen", "-"),
new Contributor("Norbert Kiesel", "-"), new Contributor("Peter Kolb", "-"),
new Contributor("Gideon Krause", "-"), new Contributor("Pierre-Marie Le Biot", "-"),
new Contributor("Arnaud Lelievre", "-"), new Contributor("Wolfgang Lenhard", "-"),
new Contributor("David Li", "-"), new Contributor("Yan Liu", "-"), new Contributor("Tin Luu", "-"),
new Contributor("Craig MacFarlane", "-"), new Contributor("Achilleus Mantzios", "-"),
new Contributor("Thomas Meier", "-"), new Contributor("Jim Moore", "-"),
new Contributor("Jonathan Nash", "-"), new Contributor("Barak Naveh", "-"),
new Contributor("David M. O'Donnell", "-"), new Contributor("Krzysztof Paz", "-"),
new Contributor("Eric Penfold", "-"), new Contributor("Tomer Peretz", "-"),
new Contributor("Diego Pierangeli", "-"), new Contributor("Xavier Poinsard", "-"),
new Contributor("Andrzej Porebski", "-"), new Contributor("Viktor Rajewski", "-"),
new Contributor("Eduardo Ramalho", "-"), new Contributor("Michael Rauch", "-"),
new Contributor("Cameron Riley", "-"), new Contributor("Klaus Rheinwald", "-"),
new Contributor("Dan Rivett", "[email protected]"), new Contributor("Scott Sams", "-"),
new Contributor("Michel Santos", "-"), new Contributor("Thierry Saura", "-"),
new Contributor("Andreas Schneider", "-"), new Contributor("Jean-Luc SCHWAB", "-"),
new Contributor("Bryan Scott", "-"), new Contributor("Tobias Selb", "-"),
new Contributor("Darshan Shah", "-"), new Contributor("Mofeed Shahin", "-"),
new Contributor("Michael Siemer", "-"), new Contributor("Pady Srinivasan", "-"),
new Contributor("Greg Steckman", "-"), new Contributor("Gerald Struck", "-"),
new Contributor("Roger Studner", "-"), new Contributor("Irv Thomae", "-"),
new Contributor("Eric Thomas", "-"), new Contributor("Rich Unger", "-"),
new Contributor("Daniel van Enckevort", "-"), new Contributor("Laurence Vanhelsuwe", "-"),
new Contributor("Sylvain Vieujot", "-"), new Contributor("Ulrich Voigt", "-"),
new Contributor("Jelai Wang", "-"), new Contributor("Mark Watson", "www.markwatson.com"),
new Contributor("Alex Weber", "-"), new Contributor("Matthew Wright", "-"),
new Contributor("Benoit Xhenseval", "-"),
new Contributor("Christian W. Zuckschwerdt", "[email protected]"),
new Contributor("Hari", "-"), new Contributor("Sam (oldman)", "-"),
new Contributor("Patrick Schlott", "-"), new Contributor("Christoph Schroeder", "-") }));
addLibrary(JCommon.INFO);
}