Default Constructor super("peersources", 70, sTableID); setRefreshInterval(INTERVAL_LIVE);
super("peersources", 70, sTableID); setRefreshInterval(INTERVAL_LIVE);
String ps = ""; DownloadManager dm = (DownloadManager)cell.getDataSource(); if (dm != null) { String[] nets = dm.getDownloadState().getPeerSources(); for (int i=0;i<nets.length;i++){ ps += (i==0?"":",") + nets[i]; } } cell.setText((ps == null) ? "" : ps);