public void removeNthEntryBox(int n) {
    NthEntryBoxMatcher matcher = new NthEntryBoxMatcher(n);
    JPanelFixture entryBoxPanel = focusedWindow.panel(matcher);
    entryBoxPanel.rightClick();

    JPopupMenuFixture popupMenu =
        new JPopupMenuFixture(entryBoxPanel.robot, entryBoxPanel.showPopupMenu().target);
    MenuItemTextTypeMatcher textMatcher = new MenuItemTextTypeMatcher("Delete Entry Box");
    popupMenu.menuItem(textMatcher).click();
  }
  public void removeVariableFromNthGraph(String variableName, int nThToFind) {
    NthYoGraphMatcher matcher = new NthYoGraphMatcher(nThToFind);

    JPanelFixture panel = focusedWindow.panel(matcher);
    panel.rightClick();

    JPopupMenuFixture popupMenu = new JPopupMenuFixture(panel.robot, panel.showPopupMenu().target);

    MenuItemTextTypeMatcher textMatcher = new MenuItemTextTypeMatcher("Remove " + variableName);
    popupMenu.menuItem(textMatcher).click();
  }
  public void removeAllEntryBoxes() {
    while (true) {
      NthEntryBoxMatcher matcher = new NthEntryBoxMatcher(0);

      JPanelFixture panel = getPanelIfItExists(matcher);
      if (panel == null) return;

      panel.rightClick();
      JPopupMenuFixture popupMenu =
          new JPopupMenuFixture(panel.robot, panel.showPopupMenu().target);
      MenuItemTextTypeMatcher textMatcher = new MenuItemTextTypeMatcher("Delete Entry Box");
      popupMenu.menuItem(textMatcher).click();
    }
  }
  public void removeAllGraphs() {
    this.clickRemoveEmptyGraphButton();

    while (true) {
      NthYoGraphMatcher matcher = new NthYoGraphMatcher(0);

      JPanelFixture panel = getPanelIfItExists(matcher);
      if (panel == null) return;

      panel.rightClick();
      JPopupMenuFixture popupMenu =
          new JPopupMenuFixture(panel.robot, panel.showPopupMenu().target);
      MenuItemTextTypeMatcher textMatcher = new MenuItemTextTypeMatcher("Delete Graph");
      popupMenu.menuItem(textMatcher).click();
    }
  }