diff --git a/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java b/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java index 663fac7..fd9dbf7 100644 --- a/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java +++ b/SmartNotes/src/com/madeorsk/smartnotes/notes/ListNote.java @@ -187,7 +187,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 8e8832a..87f7952 100644 --- a/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java +++ b/SmartNotes/src/com/madeorsk/smartnotes/notes/TextNote.java @@ -128,7 +128,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(); { @@ -191,7 +191,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);