One of the things, that I could never get to work with a Swing application is the full screen mode on a Linux (Ubuntu, Mint) machine. There was always a panel (menu bar) that would be in the way and hide part of the application. Furthermore it is inherently more difficult to handle the proper layout. Therefore I did a quick test with JavaFX to see if these issues have been overcome.
Schlagwort: JavaFX
Resizable Layout and resizable image
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