-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
fx2.0.2
-
Netbeans on Linux.
When getting a list of selected indices from a ListView, .contains returns false for the first item in the list.
Essentially the following code always prints false.
final ObservableList<Integer> observed =
listView.getSelectionModel().getSelectedIndices();
System.out.println(observed.contains(observed.get(0)));
Essentially the following code always prints false.
final ObservableList<Integer> observed =
listView.getSelectionModel().getSelectedIndices();
System.out.println(observed.contains(observed.get(0)));