Thanks to Andy Tripp <atripp@home.com> the DOMViewer

now scrolls to the shift-clicked node.
This commit is contained in:
edburns%acm.org 2000-07-15 18:56:30 +00:00
parent 599d598411
commit db00aa6e21

View File

@ -55,7 +55,7 @@ import java.util.Stack;
* A dom viewer Frame
*
* @version $Id: DOMViewerFrame.java,v 1.3 2000/06/30 17:53:58 edburns%acm.org Exp $
* @version $Id: DOMViewerFrame.java,v 1.4 2000/07/15 18:56:30 edburns%acm.org Exp $
*
* @see org.mozilla.webclient.BrowserControlFactory
@ -208,6 +208,7 @@ protected void selectNodeInTree(Node node)
tree.clearSelection();
tree.setSelectionPath(nodePath);
tree.scrollPathToVisible(nodePath);
}
protected void populatePathStackFromNode(Node node)