// update labels
m_percPopLab.setText(Utils.
doubleToString(100.0 * plotInstances.instance(index).value(indexOfSampleSize), 4));
m_percOfTargetLab.setText(Utils.doubleToString(
100.0 * plotInstances.instance(index).value(indexOfPercOfTarget), 4));
m_thresholdLab.setText(Utils.doubleToString(plotInstances.instance(index).value(indexOfThreshold), 4));
/*if (m_percPop.isSelected()) {
m_percPopLab.setText(Utils.doubleToString(100.0 * value, 4));
} else if (m_percOfTarget.isSelected()) {
m_percOfTargetLab.setText(Utils.doubleToString(100.0 * value, 4));