/** Remove all messages from the table (but leave "most recent") */
 public void clearAll() {
   int last_row = data.size() - 1;
   if (last_row > 0) {
     data.removeAllElements();
     SOAPMonitorData soap = new SOAPMonitorData(null, null, null);
     data.addElement(soap);
     if (filter_data != null) {
       filter_data.removeAllElements();
       filter_data.addElement(soap);
     }
     fireTableDataChanged();
   }
 }
Ejemplo n.º 2
0
 public void updateTableData() {
   // we need to get the stored filters
   Object[] row_data;
   rowData.removeAllElements();
   for (Iterator it = m_filters.keySet().iterator(); it.hasNext(); ) {
     row_data = new Object[2];
     row_data[0] = it.next();
     row_data[1] = m_filters.get(row_data[0]);
     rowData.add(row_data);
   }
   fireTableDataChanged();
 }
Ejemplo n.º 3
0
 /** Resets the contents of this CallStackComponent. */
 public void reset() {
   methodNames.removeAllElements();
   callStackTable.revalidate();
   callStackTable.clearSelection();
 }
 /** Hides all highlightes. */
 public void hideHighlight() {
   highlightIndex.removeAllElements();
   repaint();
 }