stavo provando...ma come posso implementarlo? non sono molto pratico e non ho mai utilizzato questo listener...
ho fatto questo..
codice:
private JTable tableSN(Vector righe, Vector colonne) {
		JTable table = new JTable(righe,colonne) {         //sovrascrivo il metodo is CellEditable impostando 
			@Override public boolean isCellEditable(int row, int column) { // la JTable non modificabile
				return false;
			}
		};
		
table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
		ListSelectionModel tab = table.getSelectionModel();
		tab.addListSelectionListener(new ListSelectionListener() {
			public void valueChanged(ListSelectionEvent e) {
				ListSelectionModel lsm = (ListSelectionModel)e.getSource();
                                        if (lsm ==
grazie
come posso andare avanti?