NetworkInfo model = controller.getModel();
if ( model != null ) {
data.clear();
int[] indices = processorList.getSelectedIndices();
for ( int processorNumber : indices ) {
double[] delays = model.delayBetweenOneAndOthers( messageLengthSlider.getValue(), processorNumber );
for ( int i = 0; i < delays.length; i++ ) {
data.addValue( delays[i] * 1000, model.getProcessorName( processorNumber ), model.getProcessorName( i ) );
}
}
}