Help Updating Tree via Listeners
I am stuck trying to come up with a solution on getting a listener to update the contents of my Tree widget.
The problem is, that this listener is in a different class than all the GUI code. Is there some way to get this backend Listener to update (or report up to) the GUI on my front-end? I just can't seem to come up with a fair solution.
I've hard coded some buttons on the GUI to call my refreshTree method, but when I use that same call in my backend listener, it does not produce the same results.
It's not easy to explain, and I'm sure I'd confuse people if I tried, so I would just like your take on how to make a listener in the backend change the frontend.