Skip to content
Snippets Groups Projects
Commit 554260db authored by Herman Andersen Dyrkorn's avatar Herman Andersen Dyrkorn
Browse files

creating thought and sends it to the thought maneger

parent d5ea620c
No related branches found
No related tags found
1 merge request!13Resolve "create a thought"
......@@ -11,18 +11,14 @@ public class Controller {
@FXML
private void handleSubmit() {
System.out.println("Mamma sønn");
String tmp = "";
tmp = textArea.getText();
String tmp = textArea.getText();
System.out.println(tmp);
Thought t = new Thought(tmp);
//Thought tmpThought = new Thought();
ThoughtManager tm = ThoughtManager.getInstance();
tm.add(t);
// Button was clicked, do something...
//outputTextArea.appendText("Button Action\n");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment