private void refreshStimulusPanel(){
  stimulusPanel.removeAll();
  stimulusVals=new JTextField[valArray.length];
  updateStimulusPanel();
  stimulusPanel.updateUI();
  tfStimulusNum.setText(Integer.toString(valArray.length));
}

private void refreshStimulusPanel ( ) { stimulusPanel . removeAll ( ) ; stimulusVals = new JTextField [ valArray . length ] ; updateStimulusPanel ( ) ; stimulusPanel . updateUI ( ) ; tfStimulusNum . setText ( Integer . toString ( valArray . length ) ) ; }
populates stimulus panel with new data .
