This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using a "com.sun.webui.jsf.component.Tree" component on one of my webpages. The component has "overflow: auto" set so that it starts scrolling down when it becomes too big for its specified size. Now I want it to scroll to a specific position when the page loads. To be more precise, I do a "tree.setSelected(nodeID)" before the page loads and I want the tree to be scrolled to the selected TreeNode.