I am trying to insert some values into the TableView, but it does not display the text in the columns, although they are not empty, because there are three rows (the same number of elements that I inserted into the TableView) that can be clicked.

I have a ClientiController class, which is a fxml file controller, and this is a TableView declaration and tableView columns.
@FXML
private TableView clientitable;
@FXML
private TableColumn nome;
@FXML
private TableColumn id;
@FXML
private TableColumn telefono;
I call the initialize () method as the loadTable () function, which adds content to the TableView.
loadTable is in the same "ClientiController" class, and this is its implementation:
@FXML
void loadTable()
{
try {
List<String> clienti = (List<String>) fc.processRequest("ReadClienti");
ObservableList<String> clienteData = FXCollections.observableArrayList(clienti);
id.setCellValueFactory(new PropertyValueFactory<Cliente, String>("id"));
nome.setCellValueFactory(new PropertyValueFactory<Cliente, String>("nome"));
cognome.setCellValueFactory(new PropertyValueFactory<Cliente, String>("cognome"));
telefono.setCellValueFactory(new PropertyValueFactory<Cliente, String>("n_tel"));
System.out.println(clienteData);
clientitable.setItems(clienteData);
} catch (SecurityException | NoSuchMethodException
| ClassNotFoundException | InstantiationException
| IllegalAccessException e) {
e.printStackTrace();
}
}
In the class Cliente, I have the following lines:
private String id, nome, cognome, n_tel;
get set String, .
readAll (ReadClienti).
List<Cliente> clienti loadTable() readAll, ArrayList<ArrayList<String>>.
raw ( ), ,
ArrayList<String> person = (ArrayList<String>) clientitable.getSelectionModel().getSelectedItem();
System.out.println(person);
, , , , .
SimpleStringProperty, , .
tableView ?
Edit:
,
List<String> clienti = (List<String>) fc.processRequest("ReadClienti");
loadTable(), ArrayList<ArrayList<String>> List<String>.
ObservableList<String>, ListView, ArrayLists .
ArrayList<ArrayList<String>> ObservableList?