/**
   * Panel that will display the stats for the object that is being added to the level in the level
   * editor environment.
   */
  public ObjectStatsPanel(ObjectEditorContainer container, LevelEditor editor) {
    homePanel = new JPanel();
    panelSize = new Dimension(PANEL_WIDTH, container.HEIGHT);
    setLayout(new BorderLayout());
    homePanel.setLayout(new BoxLayout(homePanel, BoxLayout.Y_AXIS));
    initializeCollisionIDs();

    myLevelEditor = editor;
    myLevelEditor.setObjectStatsPanel(this);
    loadInCorrectColIDMap(myLevelEditor.getLevel().getObjects());
    initialize();
    add(new ObjectToolbar(myLevelEditor), BorderLayout.WEST);
    add(homePanel, BorderLayout.EAST);
  }