Results 1 to 2 of 2
Thread: Help Updating Tree via Listeners
- 03-27-2009, 06:17 AM #1
Member
- Join Date
- Mar 2009
- Posts
- 1
- Rep Power
- 0
Help Updating Tree via Listeners
Hi Everyone,
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.
- 03-27-2009, 10:46 AM #2
Member
- Join Date
- Apr 2008
- Posts
- 42
- Rep Power
- 0
Similar Threads
-
text box listeners and returning multiple strings from methods
By int80 in forum New To JavaReplies: 5Last Post: 07-18-2008, 04:30 PM -
Seriously need help on my listeners!!
By themburu in forum Java AppletsReplies: 4Last Post: 05-26-2008, 10:41 AM -
Multiple listeners per event
By Java Tip in forum Java TipReplies: 1Last Post: 01-03-2008, 10:06 AM -
Action Event and Listeners
By lost1 in forum New To JavaReplies: 3Last Post: 11-14-2007, 04:26 AM -
Updating Graphics
By Greedful in forum Java 2DReplies: 2Last Post: 07-20-2007, 07:12 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks