samples.setText("" + md.getAnalizedSamples(measureIndex));
samples.setToolTipText("Number of samples (observations) currently analized: " + samples.getText());
dataPanel.add(label);
dataPanel.add(samples);
MeasureValue lastValue = values.lastElement();
// Lower Bound
label = new JLabel("Min: ");
lower = new JTextField("-");
lower.setEditable(false);
lower.setMaximumSize(new Dimension(lower.getMaximumSize().width, lower.getMinimumSize().height));
label.setLabelFor(lower);
if (lastValue.getLowerBound() > 0 && !Double.isInfinite(lastValue.getLowerBound())) {
lower.setText(doubleToString(lastValue.getLowerBound()));
}
lower.setToolTipText("Minimum value of current confidence interval: " + lower.getText());
dataPanel.add(label);
dataPanel.add(lower);
// Upper Bound
label = new JLabel("Max: ");
upper = new JTextField("-");
upper.setEditable(false);
upper.setMaximumSize(new Dimension(upper.getMaximumSize().width, upper.getMinimumSize().height));
label.setLabelFor(upper);
if (lastValue.getUpperBound() > 0 && !Double.isInfinite(lastValue.getUpperBound())) {
upper.setText(doubleToString(lastValue.getUpperBound()));
}
upper.setToolTipText("Maximum value of current confidence interval: " + upper.getText());
dataPanel.add(label);
dataPanel.add(upper);