public void redraw() {
if (data.hasResults() && data.areResultsOK()
&& data.getResults().getSaturationSectors().size() > 0) {
if (data.getClasses() == 2) {
this.removeAll();
painter2D = new Convex2DGraph(data, mainWin);
this.setLayout(new BorderLayout());
showLabelsBox = new JCheckBox(
JabaConstants.OPTION_SHOW_ONLY_BOTTLENECK, true);
showLabelsBox.setSelected(false);
showLabelsBox.addActionListener(this);