private void nodeSelectedInWGTree(int selRow, TreePath selPath) {
    DefaultMutableTreeNode node = ((DefaultMutableTreeNode) selPath.getLastPathComponent());
    WargearTreeUserObjectContainer container =
        (WargearTreeUserObjectContainer) node.getUserObject();

    if (container.getItem() != null) {
      this.startItemEdit(container);
      return;
    } else if (container.getGroup() != null) {
      this.startGroupEdit(container);
    }
  }
  private void startItemEdit(WargearTreeUserObjectContainer container) {
    this.saveData();
    if (this.currentContainer != null) this.currentContainer.unHighlightPath();

    WargearItemPanel panel =
        new WargearItemPanel(
            this.armylistArmy, container.getItemGroup(), container.getItem(), this);
    this.currentItemPanel = panel;
    this.currentContainer = container;
    this.editorPane.removeAll();
    this.editorPane.add(this.currentItemPanel);
    this.editorPane.updateUI();

    this.currentContainer.highlightPath();
    this.wargearTree.updateUI();
  }