pair.getTarget2().getClassName(), new Double(similarity) });\r
}\r
average = average / list.size();\r
+ \r
+ averageLabel.setText(Double.toString(average));\r
+ maximumLabel.setText(Double.toString(maximum));\r
+ minimumLabel.setText(Double.toString(minimum));\r
}\r
\r
private void initComponent(){\r
JButton saveButton = Utility.createButton("savecomparison");\r
JButton obfuscateButton = Utility.createButton("obfuscate");\r
JScrollPane scroll = new JScrollPane();\r
- averageLabel = new JLabel(Double.toString(average));\r
- maximumLabel = new JLabel(Double.toString(maximum));\r
- minimumLabel = new JLabel(Double.toString(minimum));\r
+ averageLabel = new JLabel(Double.toString(average), JLabel.RIGHT);\r
+ maximumLabel = new JLabel(Double.toString(maximum), JLabel.RIGHT);\r
+ minimumLabel = new JLabel(Double.toString(minimum), JLabel.RIGHT);\r
\r
scroll.setViewportView(table);\r
table.setDefaultRenderer(Double.class, new CompareTableCellRenderer());\r