When trying to load a project we got it to the point where the video comes up when the user selects the txt file they saved to. But now we are trying to put the names of the chicks into the comboBox and it keeps coming up empty. Here's what we have now.
project = ProjectData.loadFromFile(chosenFile);
loadVideo(project.getVideo().getFilePath());
for(int i = 0; i<project.getTracks().size(); i++) {
chickChooser.getItems().add(project.getTracks().get(i).getID());
chickChooser.getSelectionModel().select(project.getTracks().get(i).getID());
chickChooserAnalysis.getItems().add(project.getTracks().get(i).getID());
chickChooserAnalysis.getSelectionModel().select(project.getTracks().get(i).getID());
}
Are we missing something? Pretty sure everything is loading and being put into ProjectData but no animal track IDs