How to bind stage resizing with resizing of components?
问题 I have a JavaFX 2.0 application with FXML. I want the components (TextFields, ComboBoxes, layouts, and so on) to be resized when a window with an application is resized. So... As it is written on Oracle documentation for JavaFX, to make something like this with shapes, there are a few special properties to shapes: When building GUI applications with JavaFX, you will notice that certain classes in the API already implement properties. For example, the javafx.scene.shape.Rectangle class