public FenetreVisualiserRaster(){

		//maintenant la fenêtre de visualisation
		this.setLocationRelativeTo(null);
		this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		this.setTitle("Visualisation de Raster");
		this.setSize(500, 240);
		
		//	this.connexion=connexion;
		if(FenetreVisualiserRaster.nomShape1.size()==0){
			FenetreVisualiserRaster.nomShape1=ConnexionVisualiserRaster.getArrayy();
		}

		for(String fg:nomShape1){
			System.out.println("fg "+fg);
		}

		for(String bc:nomShape1){
			System.out.println("bc"+bc);
		}

		//avant this.setLocationRelativeTo(null);
		this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		//this.setDefaultCloseOperation(this.nomShape1.remove(0));
		//avant this.setTitle("JTable5678");
		//avant this.setSize(500, 240);
		
		//		final DefaultTableModel model = new DefaultTableModel();
		//		final JTable tableau = new JTable(model);

		//		 tableau.setColumnSelectionAllowed (true);
		//		 tableau.setRowSelectionAllowed (false);


		TableColumn ColumnName     = new TableColumn();
		ColumnName.setHeaderValue(new String("Name") );
		ColumnName.setMinWidth(200);
		model.addColumn(ColumnName);
		tableau.getColumnModel().getColumn(0).setHeaderValue(new String("Nom"));

		tableau.getSelectionModel().addListSelectionListener(new ListSelectionListener() {

			public synchronized void valueChanged(ListSelectionEvent abc) {
				// TODO Auto-generated method stub
				setSel(tableau.getSelectedRow());
				System.out.println("sel"+getSel());
			}
		});



		if(model.getRowCount()<nomShape1.size()&&model.getRowCount()==0){

			//System.out.println("sizze "+model.getRowCount());

			for (int efg=0;efg<nomShape1.size();efg++){
				model.addRow(new Object [] {nomShape1.get(efg)});
				//	System.out.println("sizze "+model.getRowCount());

			}
		}

		//this.model.removeRow(1);
		JPanel pan = new JPanel();


		change.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent arg0) {	

				DefaultTableModel Model = new DefaultTableModel();

				Model.addColumn("test");

				hmm = OuvrirFenetre.pathArray();
				//tableau.set
				Object[][] data = new Object[hmm.size()][hmm.size()];


				for (int i = 0; i<hmm.size();i++){
					data[i][0]= hmm.get(i);							
				}			

				//tableau.setValueAt("New Value", rowIndex, vColIndex);
				//							Model.addRow(new Object[] { "test" } );
				//for(String f:hmm){
				System.out.println(hmm.size());
				for(int f=0;f<hmm.size();f++){
					//	System.out.println("test"+hmm.get(f));
					//model.addRow(new Object [] {f});
					//				if (model.getValueAt(0,0) == hmm.get(0)){
					//					hmm.remove(hmm.get(0));
					//				}
					int ab = model.getRowCount();
					System.out.println(ab);
					model.insertRow(ab, new Object[]{hmm.get(f)});
					System.out.println("ab"+hmm.get(f));
					//	hmm.remove(hmm.get(f));
					OuvrirFenetre.path.remove(hmm.get(f));
					//System.out.println("bb"+hmm.get(f));
				}



			}

		});

		int a = tableau.getSelectedColumn();
		System.out.println("a"+ a);


		supprimer.addActionListener(new ActionListener(){

			@Override
			public synchronized void actionPerformed(ActionEvent arg0) {
				// TODO Auto-generated method stub

				nomShape1.remove(getSel());
				model.removeRow(getSel());

			}

		}
				);
		pan.add(supprimer);
		pan.add(change);
		//		
		//		
		//			String  titl2[] = {"Nome shape"};
		//
		//			this.tableau = new JTable(data,titl2);		
		//model.setRowHeight(30);	
		//model.setNumRows(30);
		//On remplace cette ligne
		this.getContentPane().add(new JScrollPane(tableau), BorderLayout.CENTER);
		this.getContentPane().add(pan, BorderLayout.SOUTH);


		valider.addActionListener(this);

		pan.add(valider);


	}