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

EventHandler not running in full screen mode for Pane (e.g. VBox), (OnMousePressed, OnMouseReleased)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • Win 7 64bits, netbeans 7.2, JDK7u6

      In the following code, p is a Parent Object, when I pass a VBox to it, under full screen mode, nothing happened when I press on the VBox. Inside the VBox there is 5 Labels.


      p.setOnMousePressed(new EventHandler<MouseEvent>(){
                      @Override public void handle(MouseEvent event) {
                          System.out.println("pressed");
                          p.setStyle(StyleUtil.generateBtnPressedStyle(color));
                      }
                  });

            ekrejcir Eva Krejčířová (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: