public void removeAllCommands() {
    myQueueElementPanelMap.clear();
    myPanel.removeAll();
    if (selectedCommand != null) {
      setTextToEditor("");
      selectedCommand = null;
    }
    repaintAll();
  }
public void removeAllCommands()