接着上一篇spa
Scene scene = new Scene(new Group()); stage.setMaximized(true);
ScrollPane scrollPane = new ScrollPane(); scrollPane.setFitToHeight(true); scrollPane.setFitToWidth(true); scrollPane.setContent(browser);