you wrote a setter already but the other way around. Place the setters ALWAYS and under ALL CIRCUMSTANCES and under HIGH IMPORTANCY in the Class where the GUI Form resides. IMPORTANT!!! When not doing it it is complex.
For the setter place it so that it has an argument String so that you can call the setter from everywhere with it’s argument String.
The Getter returns. This is for example a simple method where you would get the Text for example with get text() and return this to the caller.