This is the follow up of the previous article on resize with JavaFX. In this article I will show you how I created a Layout manager that has top and left insets which stay constant when the window is resized to a size larger than the original, but reduce proportionally if the size becomes smaller. The second point addressed here are resizable images.
JavaFX resize
After the previous posts, this is the first one that uncovers an issue, where a custom solution is required.
Overlay with AnchorLayout
Aim of this post is to show how multiple animations or other nodes can be placed side by side in an efficient way on a single layer on the stack
JavaFX overlay with ImageView
Replacing the Canvas with an ImageView from my previous post was easy.