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

no way to explicitly pack a Stage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • fx1.2
    • None
    • javafx
    • None

      Imagine a Frame that contains a Canvas. The Canvas loads some graphics during application startup. When the Frame is made visible, the Frame gets packed to contains all the graphics in the Canvas.
      Now we would like to change the whole graphics in the Canvas but there is no way how to invoke re-packing.

      Previously there has been a workaround:
      myFrame.getWindow().pack();
      but is workaround is no longer working.

      Setting issue as Major since there is no workaround available.

            morris Morris Meyer (Inactive)
            dkasparjfx David Kaspar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: