From d6af34bb7a737ecc3b4c4cca30e2df2bde07841d Mon Sep 17 00:00:00 2001 From: David McMackins II Date: Thu, 1 Dec 2016 08:39:23 -0600 Subject: Add doc comments --- src/com/delwink/icebox/swing/InventoryItemEditor.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/com/delwink/icebox/swing/InventoryItemEditor.java') diff --git a/src/com/delwink/icebox/swing/InventoryItemEditor.java b/src/com/delwink/icebox/swing/InventoryItemEditor.java index 0e64a93..1c056a2 100644 --- a/src/com/delwink/icebox/swing/InventoryItemEditor.java +++ b/src/com/delwink/icebox/swing/InventoryItemEditor.java @@ -41,6 +41,10 @@ import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; +/** + * A dialog for managing inventory items. + * @author David McMackins II + */ public class InventoryItemEditor extends JDialog { private final List CHANGES; private final Inventory INVENTORY; @@ -48,6 +52,11 @@ public class InventoryItemEditor extends JDialog { private final JButton ADD_BUTTON, CANCEL_BUTTON, SAVE_BUTTON; private final JTable TABLE; + /** + * Creates a new dialog. + * @param parent The parent frame of this dialog. + * @param inventory The inventory for editing. + */ public InventoryItemEditor(Frame parent, Inventory inventory) { super(parent, Lang.get("InventoryItemEditor.title")); setDefaultCloseOperation(DISPOSE_ON_CLOSE); -- cgit v1.2.3