Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+14 votes

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

asked in CSC285_Fall2018 by (100 points)

Please log in or register to answer this question.

...