Skip to content

Instantly share code, notes, and snippets.

@Pompeu
Created October 31, 2014 02:01
Show Gist options
  • Save Pompeu/32aa2f2bc76bcafdb0d7 to your computer and use it in GitHub Desktop.
Save Pompeu/32aa2f2bc76bcafdb0d7 to your computer and use it in GitHub Desktop.
List<String> listString = new ArrayList<>();
for(int i = 0 ; i < 10 ; i++){
listString.add("amor"+i);
}
ObservableList<String> obsList = FXCollections.observableArrayList(listString);
for (String obsList1 : obsList) {
System.out.println(obsList1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment