private NumberFormat format = NumberFormat.getNumberInstance();
public ReportingPanel() {
setLayout(new GridLayout(7, 1));
setBorder(BorderFactory.createTitledBorder("Auswertung"));
tpField = new LabeledTextField("TP");
add(tpField);
fnField = new LabeledTextField("FN");
add(fnField);
fpField = new LabeledTextField("FP");
add(fpField);
tnField = new LabeledTextField("TN");
add(tnField);
recallBar = new JProgressBar(0, 100);
recallBar.setStringPainted(true);
add(recallBar);
correctMatchingsBar = new JProgressBar(0, 100);
correctMatchingsBar.setStringPainted(true);
add(correctMatchingsBar);
averageTimeField = new LabeledTextField("ms");
add(averageTimeField);
format.setMaximumFractionDigits(2);
format.setMinimumFractionDigits(2);
}