How can a stage decoration change?

Kevin Rushforth kevin.rushforth at oracle.com
Tue Dec 17 16:49:30 UTC 2019


Taking a quick look, I'm not sure I believe that comment, but in any 
case I don't think it's talking about changing from an undecorated Stage 
to a decorated Stage. Rather, I think it means that when a decorated 
Stage is created, the window might be initially created and then the 
decorations added in a second step.

-- Kevin


On 12/17/2019 8:34 AM, Thiago Milczarek Sayao wrote:
> Hi.
>
> Window.setBounds() doc specifies:
>
>
> * Gravity values specify how to correct window location if only its size
> * changes (for example when stage decorations are added). User initiated
> * resizing should be ignored and must not influence window location through
> * this mechanism.
>
> How can I test this mechanism since initStyle() only works when before show() ?
>
> Cheers.



More information about the openjfx-dev mailing list