m_preferredSize.width = -1;  validate();
  public void newTests(Set newTests, ModelTestIndex modelTestIndex) {    final Iterator newTestIterator = newTests.iterator();	    while (newTestIterator.hasNext()) {      final Test test = (Test)newTestIterator.next();      final String description = test.getDescription();      final String label =	m_testLabel + test.getNumber() +	(description != null ? " (" + description + ")" : "");      final LabelledGraph testGraph =	new LabelledGraph(label, m_resources, m_model.getTPSExpression(),			  m_model.getPeakTPSExpression());      m_model.addSampleListener(	test,	new SwingDispatchedSampleListener(	  new SampleListener() {	    public void update(final TestStatistics intervalStatistics,			       final TestStatistics cumulativeStatistics) {	      testGraph.add(intervalStatistics, cumulativeStatistics,			    m_model.getNumberFormat());	    }	  }));      m_components.put(test, testGraph);    }    final int numberOfTests = modelTestIndex.getNumberOfTests();    // We add all the tests components again. The container ignores    // duplicates, but inserts the new components in the correct    // order.    for (int i=0; i<numberOfTests; i++) {      add((JComponent)m_components.get(modelTestIndex.getTest(i)));    }  }