import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TextArea;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

/**
 *
 * @author Alexander Kouznetsov
 */
public class SpaceScrollsDown extends Application {

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage stage) throws Exception {
        
        VBox vBox = new VBox();
        for(int i = 0; i < 50; i++) {
            vBox.getChildren().add(new TextArea());
        }

        ScrollPane scrollPane = new ScrollPane();
        scrollPane.setContent(vBox);
        
        Scene scene = new Scene(scrollPane);

        stage.setScene(scene);
        stage.show();
    }

}