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

ListView Multiple Selection inside JFXPanel

    XMLWordPrintable

    Details

      Description

      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?

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: