@@ -0,0 +1,859 @@
+import javafx.application.Application;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.control.ScrollPane;%0Aimport javafx.scene.control.TextArea;%0Aimport javafx.scene.layout.StackPane;%0Aimport javafx.stage.Stage;%0A%0Apublic class ControlTextAreaWithScrollPane extends Application %7B%0A%0A    public void start(Stage stage) %7B%0A        TextArea text = new TextArea();%0A        text.setText(%22Hello%22);%0A%0A        ScrollPane scrollPane = new ScrollPane();%0A        scrollPane.getStyleClass().add(%22noborder-scroll-pane%22);%0A        scrollPane.setStyle(%22-fx-background-color: white%22);%0A        scrollPane.setContent(text);%0A        scrollPane.setFitToWidth(true);%0A        scrollPane.setPrefHeight(180);%0A%0A        Scene scene = new Scene(scrollPane);%0A%0A        stage.setScene(scene);%0A        stage.show();%0A    %7D%0A%0A    public static void main(String %5B%5D args) %7B%0A        launch(args);%0A    %7D%0A%0A%7D%0A

Add a snippet.