1 43 package org.jfree.xml; 44 45 import java.util.Arrays ; 46 47 import org.jfree.JCommonInfo; 48 import org.jfree.ui.about.Contributor; 49 import org.jfree.ui.about.ProjectInfo; 50 51 56 public class JCommonXMLInfo extends ProjectInfo { 57 60 private static JCommonXMLInfo singleton; 61 62 67 public static synchronized JCommonXMLInfo getInstance() { 68 if (singleton == null) { 69 singleton = new JCommonXMLInfo(); 70 } 71 return singleton; 72 } 73 74 75 78 private JCommonXMLInfo() { 79 final JCommonInfo info = JCommonInfo.getInstance(); 80 81 setName("JCommon-XML"); 82 setVersion(info.getVersion()); 83 setInfo(info.getInfo()); 84 setCopyright(info.getCopyright()); 85 86 setLicenceName(info.getLicenceName()); 87 setLicenceText(info.getLicenceText()); 88 89 setContributors(Arrays.asList(new Contributor[]{ 90 new Contributor("David Gilbert", "david.gilbert@object-refinery.com"), 91 new Contributor("Thomas Morgner", "taqua@users.sourceforge.net"), 92 new Contributor("Peter Becker", "-"), 93 })); 94 95 addLibrary(info); 96 } 97 } 98 | Popular Tags |