diff options
author | David McMackins II <contact@mcmackins.org> | 2016-10-03 12:19:05 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2016-10-03 12:19:05 -0500 |
commit | 08d24abafbadd1e1fc6a963bac05c6b8456277fa (patch) | |
tree | 0d94fbc8f568b1f0483a78583df56e8593b86ca9 /src/com/delwink/icebox/swing/MainWindow.java | |
parent | 6020832eff51253cb229f5f07261ff4423e75a52 (diff) |
Add ability to create and edit items
Diffstat (limited to 'src/com/delwink/icebox/swing/MainWindow.java')
-rw-r--r-- | src/com/delwink/icebox/swing/MainWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/delwink/icebox/swing/MainWindow.java b/src/com/delwink/icebox/swing/MainWindow.java index a844082..3ca98b5 100644 --- a/src/com/delwink/icebox/swing/MainWindow.java +++ b/src/com/delwink/icebox/swing/MainWindow.java @@ -127,7 +127,8 @@ public class MainWindow extends JFrame { ITEMS_BUTTON.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent ae) { - throw new UnsupportedOperationException("Not supported yet."); + InventoryItemEditor editor = new InventoryItemEditor(MainWindow.this, INVENTORY); + editor.setVisible(true); } }); |