X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fgui%2FEditNodeDialog.java;h=3d46cf0c159135991ce2e4e79ca66cedf5eda736;hb=a2bc5cc3fa7c6d2324b1d9297d77eb79a237fb6e;hp=2e49055450c5797ce6cf4fabf2e04eb3a195fbd0;hpb=48aee31524307c74cabd33fdc17a1eecd807d97d;p=jSite2.git
diff --git a/src/net/pterodactylus/jsite/gui/EditNodeDialog.java b/src/net/pterodactylus/jsite/gui/EditNodeDialog.java
index 2e49055..3d46cf0 100644
--- a/src/net/pterodactylus/jsite/gui/EditNodeDialog.java
+++ b/src/net/pterodactylus/jsite/gui/EditNodeDialog.java
@@ -44,7 +44,7 @@ import net.pterodactylus.util.swing.SwingUtils;
/**
* Dialog that lets the user edit the properties of a node.
- *
+ *
* @author David âBombeâ Roden <bombe@freenetproject.org>
* @version $Id$
*/
@@ -88,7 +88,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
/**
* Creates a new node edit dialog with the given parent.
- *
+ *
* @param parentDialog
* The parent dialog of this dialog
*/
@@ -97,6 +97,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
initActions();
initComponents();
pack();
+ setSize(getWidth() * 2, getHeight());
I18n.registerI18nable(this);
SwingUtils.center(this);
}
@@ -107,7 +108,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
/**
* Returns the user-given name of the node.
- *
+ *
* @return The user-given name of the node
*/
public String getNodeName() {
@@ -116,7 +117,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
/**
* Sets the user-given name of the node.
- *
+ *
* @param name
* The name of the node
*/
@@ -127,7 +128,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
/**
* Returns the hostname of the node.
- *
+ *
* @return The hostname of the node
*/
public String getNodeHostname() {
@@ -136,7 +137,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
/**
* Sets the hostname of the node.
- *
+ *
* @param hostname
* The hostname of the node
*/
@@ -147,7 +148,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
/**
* Returns the FCP port number of the node.
- *
+ *
* @return The FCP port number of the node
*/
public int getNodePort() {
@@ -156,7 +157,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
/**
* Sets the FCP port number of the node.
- *
+ *
* @param port
* The FCP port number of the node
*/
@@ -167,7 +168,7 @@ public class EditNodeDialog extends JDialog implements I18nable {
/**
* Returns whether the dialog was cancelled.
- *
+ *
* @return true
if the dialog was cancelled,
* false
if the user clicked âokayâ
*/