7f1b10f Bug 705753 - Refresh problem in Console directory browser

1 file Authored by nkinder 12 years ago, Committed by Noriko Hosoi 12 years ago,
    Bug 705753 - Refresh problem in Console directory browser
    
    If focus is transferred from a leaf entry to a non-leaf entry in the
    directory brower, the list of child entries will not be displayed
    in the right-hand panel.
    
    The problem is that the method that gets the details of the selected
    node keys off of the last component to receive focus.  When the event
    is fired off to tell is that an item in the tree was selected, the
    focus event has not fired off yet, so we get info about the old
    leaf entry that was previously selected.  We build the children to
    display off of this entry, but there are none since it is a leaf.  The
    fix simply sets the last focused component to be the tree in the tree
    listener method.  This should be safe since we know that the tree was
    just selected since we received a TreeSelectionEvent.