Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- obsList = FXCollections.observableArrayList();
- obsList.add(new Song("Jesus of Suburbia", "Greenday"));
- SortedList<Song> sl = new SortedList<Song>(obsList, new Song.Compare());
- listView.setItems(sl);
- obsList.add(new Song("Birdplane", "Axis of Awesome"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement