  public InventoryFrame(Player player)
  {
    super("Inventory");
    addWindowFocusListener(this);
    thePlayer = player;
    use = new JButton("Use");
    drop = new JButton("Drop");
    back = new JButton("Back");
    buttons = new JPanel();
    buttons.setBackground(Color.DARK_GRAY);
    bank = new JLabel("Money: $" + thePlayer.getMoney());
    bank.setForeground(Color.GREEN);
    ButtonListener handler = new ButtonListener();
    use.addActionListener(handler);
    drop.addActionListener(handler);
    back.addActionListener(handler);
    buttons.add(use);
    buttons.add(drop);
    buttons.add(back);
    buttons.add(bank);
    itemPanel = new JPanel();
    itemPanel.setBackground(Color.DARK_GRAY);
    descriptionArea = new JTextArea();
    descriptionArea.setPreferredSize(new Dimension(200, 200));
    descriptionArea.setBackground(Color.BLACK);
    descriptionArea.setForeground(Color.GREEN);
    descriptionArea.setWrapStyleWord(true);
    descriptionArea.setLineWrap(true);
    descriptionArea.setEditable(false);
    descriptionArea.setWrapStyleWord(true);
    usableItems = new Vector<Integer>();
    fillUsuable();
    message = new JLabel();
    message.setForeground(Color.GREEN);
    makeInventory();
    inventory = new JList(inventoryList);
    inventory.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    inventory.setBackground(Color.BLACK);
    inventory.setForeground(Color.GREEN);
    inventory.setSelectionBackground(Color.DARK_GRAY);
    inventory.addListSelectionListener(new ListSelectionListener()
    {
      @Override
      public void valueChanged(ListSelectionEvent arg0)
      {
        descriptionArea.setText(((Item) inventory.getSelectedValue())
            .getDescription());
      }
    });
    scroll = new JScrollPane(inventory);
    scroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
    itemPanel.add(scroll);
    itemPanel.add(descriptionArea);
    itemPanel.setBackground(Color.DARK_GRAY);
    this.setLayout(new BorderLayout());
    this.add(itemPanel, BorderLayout.CENTER);
    this.add(buttons, BorderLayout.SOUTH);
    this.add(message, BorderLayout.NORTH);
  }

  public InventoryFrame(Player player)
  {
    super("Inventory");
    addWindowFocusListener(this);
    thePlayer = player;
    use = new JButton("Use");
    drop = new JButton("Drop");
    back = new JButton("Back");
    buttons = new JPanel();
    buttons.setBackground(Color.DARK_GRAY);
    bank = new JLabel("Money: $" + thePlayer.getMoney());
    bank.setForeground(Color.GREEN);
    ButtonListener handler = new ButtonListener();
    use.addActionListener(handler);
    drop.addActionListener(handler);
    back.addActionListener(handler);
    buttons.add(use);
    buttons.add(drop);
    buttons.add(back);
    buttons.add(bank);
    itemPanel = new JPanel();
    itemPanel.setBackground(Color.DARK_GRAY);
    descriptionArea = new JTextArea();
    descriptionArea.setPreferredSize(new Dimension(200, 200));
    descriptionArea.setBackground(Color.BLACK);
    descriptionArea.setForeground(Color.GREEN);
    descriptionArea.setWrapStyleWord(true);
    descriptionArea.setLineWrap(true);
    descriptionArea.setEditable(false);
    descriptionArea.setWrapStyleWord(true);
    usableItems = new Vector<Integer>();
    fillUsuable();
    message = new JLabel();
    message.setForeground(Color.GREEN);
    makeInventory();
    inventory = new JList(inventoryList);
    inventory.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    inventory.setBackground(Color.BLACK);
    inventory.setForeground(Color.WHITE);
    inventory.setSelectionBackground(Color.DARK_GRAY);
    inventory.setSelectionForeground(Color.GREEN);
    inventory.addListSelectionListener(new ListSelectionListener()
    {
      @Override
      public void valueChanged(ListSelectionEvent arg0)
      {
        descriptionArea.setText(((Item) inventory.getSelectedValue())
            .getDescription());
      }
    });
    scroll = new JScrollPane(inventory);
    scroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
    itemPanel.add(scroll);
    itemPanel.add(descriptionArea);
    itemPanel.setBackground(Color.DARK_GRAY);
    this.setLayout(new BorderLayout());
    this.add(itemPanel, BorderLayout.CENTER);
    this.add(buttons, BorderLayout.SOUTH);
    this.add(message, BorderLayout.NORTH);
  }
