* An “about” dialog.
*
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
- * @version $Id$
*/
public class AboutDialog extends JDialog implements I18nable {
/** A list of all contributors. */
private static final List<Contributor> CONTRIBUTORS = new ArrayList<Contributor>();
-
+
/** A list of all code usages. */
private static final List<CodeUsage> CODE_USAGES = new ArrayList<CodeUsage>();
/** The “other people’s code used” label. */
private I18nLabel codeUsageLabel;
-
+
/** The license header. */
private I18nLabel licenseHeaderLabel;
codeUsageLabel.setFont(codeUsageLabel.getFont().deriveFont(Font.BOLD));
textPanel.add(codeUsageLabel);
textPanel.add(Box.createVerticalStrut(12));
-
+
for (CodeUsage codeUsage: CODE_USAGES) {
JLabel usageLabel = new JLabel(codeUsage.getName() + " (" + codeUsage.getURL() + ", " + codeUsage.getLicense() + ")");
textPanel.add(usageLabel);
}
-
+
return aboutPanel;
}
* Container for a contributor.
*
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
- * @version $Id$
*/
private static class Contributor {