X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fgui%2FEditNodeDialog.java;h=bbb522444ec58f13feb1c05ac3d5b70c7f57efd2;hb=0fb6af2eeecf591148346548855b4834ece81e18;hp=3d46cf0c159135991ce2e4e79ca66cedf5eda736;hpb=0a77fd9c0956cb61a4b6daba377343949b575add;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/gui/EditNodeDialog.java b/src/net/pterodactylus/jsite/gui/EditNodeDialog.java index 3d46cf0..bbb5224 100644 --- a/src/net/pterodactylus/jsite/gui/EditNodeDialog.java +++ b/src/net/pterodactylus/jsite/gui/EditNodeDialog.java @@ -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();