number of logged packets in title

This commit is contained in:
fros4943 2007-11-20 04:17:11 +00:00
parent 7ab9703d8f
commit a9c3799a42

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: RadioLogger.java,v 1.10 2007/08/21 13:28:52 fros4943 Exp $ * $Id: RadioLogger.java,v 1.11 2007/11/20 04:17:11 fros4943 Exp $
*/ */
package se.sics.cooja.plugins; package se.sics.cooja.plugins;
@ -261,6 +261,7 @@ public class RadioLogger extends VisPlugin {
rowData.add(data); rowData.add(data);
} }
model.fireTableRowsInserted(rowData.size() - newConnections.length + 1, rowData.size()); model.fireTableRowsInserted(rowData.size() - newConnections.length + 1, rowData.size());
setTitle("Radio Logger: " + rowData.size() + " packets");
} }
}); });