Hello,
If I put a ListView inside a JFXPanel on my computer the multiple selection is not working any more.
I have started with the code Example 12-4 Processing Events for a List Item from the online tutorial. (http://docs.oracle.com/javafx/2/ui_controls/list-view.htm#CEGDGADC)
I have added a new line to make the multiple selection available:
list.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE)
I have multiple selection, it works fine while the example is an Application started by the call of public void start(Stage stage).
If the Scene of the above mentioned code is inside a JFXPanel (fxPanel.setScene(scene)) than multiple selection on the list is not available any more.
Strange behave.
Any idea?
If I put a ListView inside a JFXPanel on my computer the multiple selection is not working any more.
I have started with the code Example 12-4 Processing Events for a List Item from the online tutorial. (http://docs.oracle.com/javafx/2/ui_controls/list-view.htm#CEGDGADC)
I have added a new line to make the multiple selection available:
list.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE)
I have multiple selection, it works fine while the example is an Application started by the call of public void start(Stage stage).
If the Scene of the above mentioned code is inside a JFXPanel (fxPanel.setScene(scene)) than multiple selection on the list is not available any more.
Strange behave.
Any idea?