public void update( Observable arg0, Object receivedInfo ) {
public void update( Observable arg0, Object receivedInfo ) {  if (!libLoaded) {  return; }
	public void update( Observable arg0, Object receivedInfo ) {				ClientStats clientInfo = ( ClientStats ) receivedInfo;		Shell shell = parent.getShell();				if ( counter < uploadrate.length ){			uploadrate[counter]=clientInfo.getTcpUpRate();			downloadrate[counter]=clientInfo.getTcpDownRate();				counter++;		}		else {		/* median transfer-Rates: */			float medianUpRate=0;			float medianDownRate=0;						for (int i = 0; i < uploadrate.length; i++) {				medianUpRate = medianUpRate+uploadrate[i];				medianDownRate = medianDownRate+downloadrate[i];						}			medianUpRate = medianUpRate / uploadrate.length;			medianDownRate = medianDownRate / downloadrate.length;						String transferRates =					 "\nDL:" + decimalFormat.format(medianDownRate) + 					 " / UL:" + decimalFormat.format(medianUpRate  );						systemTrayManager.update(icon,titleBarText+transferRates);						counter=0;				}									}