public void updateChart() {
NetworkInfo model = controller.getModel();
if ( model != null ) {
for ( int i = 0; i < data.getSeriesCount(); i++ ) data.removeSeries( data.getSeriesKey( i ) );
double[][] matrix = model.delaysBetweenTwoProcessors( startProcessorsList.getSelectedIndex(), endProcessorsList.getSelectedIndex() );
data.addSeries( "(" + model.getProcessorName( startProcessorsList.getSelectedIndex() ) + ", " + model.getProcessorName( endProcessorsList.getSelectedIndex() ) + ")", matrix );
}
}
protected Widget createInterface() {