diff --git a/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java b/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java index 161e76c..b6bb7ef 100644 --- a/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java +++ b/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java @@ -44,7 +44,7 @@ public class ListNote extends Note VBox box = new VBox(); box.setFillWidth(true); - TextField nameField = new TextField(); + final TextField nameField = new TextField(); HBox titleBox = new HBox(); { diff --git a/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java b/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java index f3fdb87..98dedca 100644 --- a/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java +++ b/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java @@ -37,7 +37,7 @@ public class TextNote extends Note VBox box = new VBox(); box.setFillWidth(true); - TextField nameField = new TextField(); + final TextField nameField = new TextField(); HBox titleBox = new HBox(); { @@ -100,7 +100,7 @@ public class TextNote extends Note } box.getChildren().add(nameField); - TextArea textArea = new TextArea(); + final TextArea textArea = new TextArea(); { textArea.setId("text"); textArea.setWrapText(true);