showLabelsBox.setSelected(false);
showLabelsBox.addActionListener(this);
showLabelsBox.addChangeListener(this);
showLabelsBox.addItemListener(this);
this.add(showLabelsBox, BorderLayout.PAGE_START);
this.add(new JabaCanvas(painter2D), BorderLayout.CENTER);
this.add(new JLabel(JabaConstants.DESCRIPITION_CONVEX_2D_GRAPH),
BorderLayout.PAGE_END);
repaint();
} else if (data.getClasses() == 3) {
this.removeAll();
painter3D = new Convex3DGraph(data, mainWin);
this.setLayout(new BorderLayout());
this.add(make3DOptionPanel(), BorderLayout.EAST);
this.add(new JabaCanvas(painter3D), BorderLayout.CENTER);
this.add(new JLabel(JabaConstants.DESCRIPITION_GRAPH),
BorderLayout.PAGE_END);
repaint();
}