whitespace fixups
[jSite2.git] / src / net / pterodactylus / jsite / gui / NodeLabel.java
index cd4092e..1d382fb 100644 (file)
@@ -42,7 +42,7 @@ import net.pterodactylus.jsite.i18n.gui.I18nLabel;
  * A node label is a small component that sits in the status bar, displays the
  * current status of a node and offers a context menu to connect and disconnect
  * from the node.
- * 
+ *
  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
  */
 public class NodeLabel extends JLabel implements PropertyChangeListener, MouseListener, I18nable {
@@ -70,7 +70,7 @@ public class NodeLabel extends JLabel implements PropertyChangeListener, MouseLi
 
        /**
         * Creates a new node label.
-        * 
+        *
         * @param swingInterface
         *            The Swing interface
         * @param node
@@ -130,7 +130,7 @@ public class NodeLabel extends JLabel implements PropertyChangeListener, MouseLi
                setIcon(offlineIcon);
                contextMenu = new JPopupMenu();
                menuLabel = new I18nLabel("mainWindow.statusBar.nodeLabel", node.getName());
-               JPanel menuPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 0, 0));
+               JPanel menuPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 6, 0));
                menuPanel.add(menuLabel);
                contextMenu.add(menuPanel);
                contextMenu.addSeparator();
@@ -145,7 +145,7 @@ public class NodeLabel extends JLabel implements PropertyChangeListener, MouseLi
        /**
         * Checks whether the given mouse event is a trigger for popup menues and
         * shows the popup menu if it is.
-        * 
+        *
         * @param mouseEvent
         *            The mouse event to check for being a popup trigger
         */