complete new node management
[jSite2.git] / src / net / pterodactylus / jsite / gui / EditNodeDialog.java
index 3d46cf0..bbb5224 100644 (file)
@@ -29,6 +29,7 @@ import java.awt.event.ActionEvent;
 import javax.swing.BorderFactory;
 import javax.swing.JButton;
 import javax.swing.JDialog;
+import javax.swing.JFrame;
 import javax.swing.JOptionPane;
 import javax.swing.JPanel;
 import javax.swing.JTextField;
@@ -89,11 +90,11 @@ 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
+        * @param parentFrame
+        *            The parent frame of this dialog
         */
-       public EditNodeDialog(JDialog parentDialog) {
-               super(parentDialog, I18n.get("editNodeDialog.title") + " – jSite " + Version.getVersion(), true);
+       public EditNodeDialog(JFrame parentFrame) {
+               super(parentFrame, I18n.get("editNodeDialog.title") + " – jSite " + Version.getVersion(), true);
                initActions();
                initComponents();
                pack();