Results 1 to 2 of 2
  1. #1
    Seiki is offline Member
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Default 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.

  2. #2
    pheonix is offline Member
    Join Date
    Apr 2008
    Posts
    42
    Rep Power
    0

Similar Threads

  1. Replies: 5
    Last Post: 07-18-2008, 05:30 PM
  2. Seriously need help on my listeners!!
    By themburu in forum Java Applets
    Replies: 4
    Last Post: 05-26-2008, 11:41 AM
  3. Multiple listeners per event
    By Java Tip in forum Java Tip
    Replies: 1
    Last Post: 01-03-2008, 11:06 AM
  4. Action Event and Listeners
    By lost1 in forum New To Java
    Replies: 3
    Last Post: 11-14-2007, 05:26 AM
  5. Updating Graphics
    By Greedful in forum Java 2D
    Replies: 2
    Last Post: 07-20-2007, 08:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •