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

Controller skeleton does not display the correct event type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 8
    • javafx

      Drop a Button
      From the inspector Code section, set the "On Mouse Clicked" event handler to "mouseClicked"
      View>Show Sample Controller Skeleton:
          @FXML
          void mouseClicked(ActionEvent event) {
          }

      ==> the event type is wrong: it should be MouseEvent instead of ActionEvent.
      Same issue with Key events.

            Unassigned Unassigned
            jcambon Jerome Cambon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: