Newer
Older
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
@FXML
private TextArea textArea;
@FXML
private void handleSubmit() {
System.out.println("Mamma sønn");
String tmp = "";
tmp = textArea.getText();
System.out.println(tmp);
//Thought tmpThought = new Thought();
// Button was clicked, do something...
//outputTextArea.appendText("Button Action\n");
}