This week's book giveaway is in the Java 9 forum. We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line! See this thread for details.
Whats a good way of resizing a String so it fits the Scene?
posted 3 years ago
I have a txt-file which contains a very long String,which is put into a Label. This label's width exceeds the width property of the Scene and Stage on which it is mounted however.
So a scrolling bar appears at the bottom of the Stage so I can see the end of the String.
This is quite unhandy ofcourse and it would be better if all the text is automatically constrained to the size of the Scene/Stage.