X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fgui%2FProjectPanel.java;h=1ade7f36b661d26dff600e5f8c571410b4d8f130;hb=5c4c95f6e37d87251f64b5b6f6d661123dfc6469;hp=2dd1031ad1ed95db6c480de47ab3dd71e663e9e9;hpb=164c7174571672ca255b918a56c8db9336e31d19;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/gui/ProjectPanel.java b/src/net/pterodactylus/jsite/gui/ProjectPanel.java index 2dd1031..1ade7f3 100644 --- a/src/net/pterodactylus/jsite/gui/ProjectPanel.java +++ b/src/net/pterodactylus/jsite/gui/ProjectPanel.java @@ -55,13 +55,12 @@ import net.pterodactylus.util.logging.Logging; /** * A panel that contains all information about a project and lets the user edit * the properties of the project. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** Logger. */ - @SuppressWarnings("unused") private static final Logger logger = Logging.getLogger(ProjectPanel.class.getName()); /** The Swing interface. */ @@ -105,7 +104,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * Creates a new project panel. - * + * * @param swingInterface * The Swing interface * @param project @@ -126,7 +125,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * Returns the project that is displayed in this panel. - * + * * @return The project of this panel */ public Project getProject() { @@ -139,7 +138,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * Adds the given node to the node combo boxes in all {@link ProjectPanel}s. - * + * * @param node * The node to add */ @@ -150,7 +149,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * Removes the given node from the node combo boxes in all * {@link ProjectPanel}s. - * + * * @param node * The node to remove */ @@ -171,7 +170,6 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * {@inheritDoc} */ - @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { changeBasePath(); } @@ -214,7 +212,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * Creates the properties panel. - * + * * @return The properties panel */ private JPanel createPropertiesPanel() { @@ -261,7 +259,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * Creates the button panel. - * + * * @return The button panel */ private JPanel createButtonPanel() { @@ -276,7 +274,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * Updates the project from changes in the text fields. - * + * * @param document * The document that was changed */ @@ -358,7 +356,7 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { /** * Cell cenderer for the node combo box. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ private static class NodeComboBoxCellRenderer extends DefaultListCellRenderer {