docs: private void updateResult() {
  
          if (gridFormat) {
  
              // in case 'help' has removed the grid
              if (bHelp) {
                  pResult.removeAll();
                  pResult.add(gScrollPane, BorderLayout.CENTER);
                  pResult.doLayout();
                  gResult.fireTableChanged(null);
                  pResult.repaint();
  
                  bHelp = false;
              }
          } else {
              showResultInText();
          }
  
          txtCommand.selectAll();
          txtCommand.requestFocus();
      }