import java.io.File; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.web.HTMLEditor; import javafx.scene.layout.StackPane; import javafx.stage.Stage; /** * * @author Stanislav Smirnov */ public class ScrollBarIssueApp extends Application { /** * @param args the command line arguments */ public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) { StackPane root = new StackPane(); Scene scene = new Scene(root, 500, 200); primaryStage.setTitle("Hello World!"); HTMLEditor htmlEditor = new HTMLEditor(); root.getChildren().add(htmlEditor); primaryStage.setScene(scene); primaryStage.show(); } }