Randahl Fink Isaksen randahl at
Fri Oct 5 00:39:24 PDT 2012

Others may have more insight here, but I would guess that completely removing every node and building from scratch leads to poor performance in situations like when resizing a window.


On Oct 5, 2012, at 9:34 , Tom Eugelink <tbee at> wrote:

> I've solved it. It takes a different approach: instead of extending layoutChildren, you should register to all kinds of properties and then do a relayout. For example: I've registered to the ScrollPane's viewportBounds and react to the changing width and height.
> Also I'm now refactoring to not do a getChildren().clear on every relayout, but modify the sized.
> Looking good.

More information about the openjfx-dev mailing list