public void valueChanged(ListSelectionEvent e) {
if (!e.getValueIsAdjusting()) {
switch (clustList.getSelectedIndex()) {
case 0:
optClustering.removeAll();
optClustering.add(new KMeansOptPanel(ClusterPanel.this, new loadListener(), model), BorderLayout.CENTER);
optClustering.revalidate();
optClustering.repaint();
if (session.getListOfClustering().size() == 0) {
canGoOn = false;
}