JDK-8105276 : no way to explicitly pack a Stage
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2008-07-08
  • Updated: 2015-06-16
  • Resolved: 2009-01-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
fx1.2Resolved
Related Reports
Duplicate :  
Description
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.

Comments
This is no longer controls
27-01-2009

We need to think about reintroducing a Frame and Window to FX before this is a real issue again, once we do that we need to address this
06-11-2008

Frame will come back in a later release. Need to address this then.
06-10-2008