functional/ControlsTests/src/javafx/scene/control/test/textinput/TextAreaPropertiesApp.java

Print this page

        

*** 26,38 **** import javafx.event.Event; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.Button; - import javafx.scene.control.ButtonBuilder; import javafx.scene.control.TextArea; - import javafx.scene.control.TextField; import javafx.scene.layout.Pane; import test.javaclient.shared.Utils; /** * @author Alexander Kirov --- 26,36 ----
*** 70,80 **** tested.setWrapText(fresh.isWrapText()); } @Override public void addControlSpecificButtons(Pane pane) { ! Button button = ButtonBuilder.create().id(ADD_TEXT_BUTTON_ID).text("Add much text").build(); button.setOnAction(new EventHandler() { public void handle(Event t) { for (int i = 0; i < 1000; i++) { TextArea ta = (TextArea) testedTextInput; --- 68,79 ---- tested.setWrapText(fresh.isWrapText()); } @Override public void addControlSpecificButtons(Pane pane) { ! Button button = new Button("Add much text"); ! button.setId(ADD_TEXT_BUTTON_ID); button.setOnAction(new EventHandler() { public void handle(Event t) { for (int i = 0; i < 1000; i++) { TextArea ta = (TextArea) testedTextInput;