Since the size of a window is not a bindable property, I can not use it as a property change event for when the size of my window changes. I came across a post which suggested adding a listener would do the job:
The aforementioned useful post
Although the links to explain the java listener were very good and comprehensive, I could not work out how to add it to my window. I believe it needs to be added in the custom method section. But could you please show me a basic example of how one would add a listener in there?
Many thanks!!!