Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126233

ListView Multiple Selection inside JFXPanel

XMLWordPrintable

      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?

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: