Yes, that's the other approach I mentioned, returning a reference directly from the object.
Note that the (Java) OO approach would have been to use getters/setters in all cases for writing into the object. If your case is mostly restricted to testing, then that won't make much difference.
I assume that ->{search} and ->{handelspartnerSuche} should be the same word.
In reply to Re^5: Object Oriented reference in -textvariable
by Corion
in thread Object Oriented reference in -textvariable
by JOption
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |