我是一个新手,想知道如何使用2维字符串数组填充tableview:
String[][] staffArray = (String[][]) connection.getAll("StaffServices");
ObservableList row = FXCollections.observableArrayList(staffArray);
//don't know what should go in here
staffTable.setItems(row);
would really appreciate a response.