X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fgui%2FAboutDialog.java;h=8f79a52a68cafd163304bc6d5ea31b7cfcf9ebd8;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hp=26b97055219514bd76e20de240481f1bea8ddc02;hpb=cf127faffabd3f07b0acc6de9ea746059d571b56;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/gui/AboutDialog.java b/src/net/pterodactylus/jsite/gui/AboutDialog.java index 26b9705..8f79a52 100644 --- a/src/net/pterodactylus/jsite/gui/AboutDialog.java +++ b/src/net/pterodactylus/jsite/gui/AboutDialog.java @@ -53,7 +53,7 @@ import net.pterodactylus.util.swing.SwingUtils; /** * An “about” dialog. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class AboutDialog extends JDialog implements I18nable { @@ -92,7 +92,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Creates a new “about” dialog. - * + * * @param swingInterface * The Swing interface */ @@ -148,7 +148,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Creates the “about” page. - * + * * @return The “about” page */ private JComponent createAboutPage() { @@ -170,7 +170,7 @@ public class AboutDialog extends JDialog implements I18nable { textPanel.add(Box.createVerticalStrut(12)); contributorsLabel.setFont(contributorsLabel.getFont().deriveFont(Font.BOLD)); - for (Contributor contributor: CONTRIBUTORS) { + for (Contributor contributor : CONTRIBUTORS) { JLabel contributorLabel = new JLabel(contributor.getName() + " <" + contributor.getEmail() + "> (" + contributor.getPart() + ")"); textPanel.add(contributorLabel); } @@ -190,7 +190,7 @@ public class AboutDialog extends JDialog implements I18nable { textPanel.add(codeUsageLabel); textPanel.add(Box.createVerticalStrut(12)); - for (CodeUsage codeUsage: CODE_USAGES) { + for (CodeUsage codeUsage : CODE_USAGES) { JLabel usageLabel = new JLabel(codeUsage.getName() + " (" + codeUsage.getURL() + ", " + codeUsage.getLicense() + ")"); textPanel.add(usageLabel); } @@ -200,7 +200,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Creates the “license” page. - * + * * @return The “license” page */ private JComponent createLicensePage() { @@ -225,7 +225,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Loads the license text. - * + * * @return The license text */ private String loadLicenseText() { @@ -283,7 +283,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Container for a contributor. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ private static class Contributor { @@ -299,7 +299,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Creates a new contributor. - * + * * @param name * The name of the contributor * @param email @@ -315,7 +315,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Returns the name of the contributor. - * + * * @return The name of the contributor */ String getName() { @@ -324,7 +324,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Returns the email address of the contributor. - * + * * @return The email address of the contributor */ String getEmail() { @@ -333,7 +333,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Returns the parts where the contributor helped. - * + * * @return The parts where the contributor helped */ String getPart() { @@ -345,7 +345,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * A code usage object describes code or other resources that have been * taken from other projects. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ private static class CodeUsage { @@ -364,7 +364,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Creates a new code usage object. - * + * * @param name * The name of the project * @param url @@ -383,7 +383,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Returns the name of the project. - * + * * @return The name of the project */ public String getName() { @@ -392,7 +392,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Returns the URL of the project. - * + * * @return The URL of the project */ public String getURL() { @@ -401,7 +401,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Returns the license of the used part. - * + * * @return The license of the used part */ public String getLicense() { @@ -410,7 +410,7 @@ public class AboutDialog extends JDialog implements I18nable { /** * Returns the used part. - * + * * @return The used part */ public String getPart() {