diff options
Diffstat (limited to 'logo/src/xlogo/gui/components/X4SGui.java')
-rw-r--r-- | logo/src/xlogo/gui/components/X4SGui.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/logo/src/xlogo/gui/components/X4SGui.java b/logo/src/xlogo/gui/components/X4SGui.java index 9aacaae..bef236e 100644 --- a/logo/src/xlogo/gui/components/X4SGui.java +++ b/logo/src/xlogo/gui/components/X4SGui.java @@ -67,8 +67,11 @@ public abstract class X4SGui { stopListenForLanguageChangeEvents();
}
- private PropertyChangeListener languageChangeListener = () -> {
- setText();
+ private PropertyChangeListener languageChangeListener = new PropertyChangeListener(){
+ @Override
+ public void propertyChanged() {
+ setText();
+ }
};
/**
|