m_InfoPanel.append(helper.getRowCount() + " rows selected.", "information_small.gif");
if (evt.getMaxRows() > 0) m_InfoPanel.append(helper.getRowCount() + " rows selected (" + evt.getMaxRows() + " displayed).", "information_small.gif"); else m_InfoPanel.append(helper.getRowCount() + " rows selected.", "information_small.gif");
  public void queryExecuted(QueryExecuteEvent evt) {    ResultSetHelper   helper;        if (evt.failed()) {      m_InfoPanel.append("Query:" + evt.getQuery(), "error_small.gif");      m_InfoPanel.append("exception: " + evt.getException(), "error_small.gif");    }    else {      m_InfoPanel.append("Query: " + evt.getQuery(), "information_small.gif");      try {        if (evt.hasResult()) {          helper = new ResultSetHelper(evt.getResultSet());          m_InfoPanel.append(helper.getRowCount() + " rows selected.",               "information_small.gif");        }        // save max rows        loadHistory(false);        m_History.setProperty(            QueryPanel.MAX_ROWS, Integer.toString(evt.getMaxRows()));        saveHistory();      }      catch (Exception e) {        e.printStackTrace();      }    }  }