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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx1.1
    • Fix Version/s: fx1.1, fx1.2
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      Windows, Java6u12, JavaFX SDK1.1

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: