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

Setting resizable attribute to false for stage, still allows to resize the Stage programmatically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx1.1, fx1.2
    • fx1.1
    • javafx
    • None
    • Windows, Java6u12, JavaFX SDK1.1

      According to the javaFX API doc,

      Stage {
      .........................
      resizable : false
      ..........................
      .........................
      }

      sould not allow to change the size of the stage. What if, we try to change the size of the stage programmatically (by binding values) ?

      Here I am attaching a Netbeans project where I am setting the resizable attribute to false and then trying to change the size of the Stage by binding the value of a slider with the height and width of the Stage.

      It allows to change the size of the Stage ! If by any chance, this is the expected behaviour, it should be documented well.

            kcr Kevin Rushforth
            snathsunw Subrata Nath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: