From a449c0cca00468daa82229c4eec2f5218ec73765 Mon Sep 17 00:00:00 2001 From: russtack <116985265+russtack@users.noreply.github.com> Date: Mon, 14 Aug 2023 02:07:01 -0400 Subject: [PATCH] Update 3-event-handling.md oikeaTeksti to rightText --- data/part-13/3-event-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/part-13/3-event-handling.md b/data/part-13/3-event-handling.md index b0055262b..6d7e2c543 100644 --- a/data/part-13/3-event-handling.md +++ b/data/part-13/3-event-handling.md @@ -219,7 +219,7 @@ leftText.textProperty().addListener(new ChangeListener() { String oldValue, String newValue) { System.out.println(oldValue + " -> " + newValue); - oikeaTeksti.setText(newValue); + rightText.setText(newValue); } }); ```