TabbedPane() {
			super(new GridLayout(1, 1)); 
			JTabbedPane tabbedPane = new JTabbedPane();
			java.net.URL imgURL = getClass().getResource("img/db.jpg");
			ImageIcon iconDB = new ImageIcon(imgURL);
			
			panelDB = new JPanelCluster("MINE", new java.awt.event.ActionListener() {
				public void actionPerformed(ActionEvent e) {
					try{
						learningFromDBAction();
					}
					catch (SocketException e1) {
						JOptionPane.showMessageDialog(panelFile, "Errore! - Impossibile Connettersi al Server\n\nDettagli:\n" + e1);
					}
					catch (IOException e1) {
						JOptionPane.showMessageDialog(panelFile, e1);
					} 
					catch (ClassNotFoundException e1) {
						JOptionPane.showMessageDialog(panelFile, e1);
					}
				}
			});
			tabbedPane.addTab("DB", iconDB, panelDB, "Kmeans from Database");

			imgURL = getClass().getResource("img/file.jpg");
			ImageIcon iconFile = new ImageIcon(imgURL);
			panelFile = new JPanelCluster("STORE FROM FILE", new java.awt.event.ActionListener() {
				public void actionPerformed(ActionEvent e) {
					try{
						learningFromFileAction();
					}
					catch (SocketException e1) {
						JOptionPane.showMessageDialog(panelFile, "Errore! - Impossibile Connettersi al Server\n\nDettagli:\n" + e1);
					} 
					catch (IOException e1) {
						JOptionPane.showMessageDialog(panelFile, e1);
					}
					catch (ClassNotFoundException e1) {
						JOptionPane.showMessageDialog(panelFile, e1);						
					}					
				}
			});
			tabbedPane.addTab("FILE", iconFile, panelFile,"Kmeans from File");

			add(tabbedPane);         

			tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
		}