-
Bug
-
Resolution: Fixed
-
P3
-
1.2.2
-
merlin
-
generic
-
generic
JTree.scrollPathToVisible fails to make the element viewable in view pane if the element scrolling to is not currently visible. If an expandPath and setSelectionPath are called before the scrollToPath the element is not made viewable in view pane.
To illustrate.
cd /usr/local/java/jh1.1/
setenv CLASSPATH javahelp/lib/jh.jar:javahelp/lib/jhtools.jar;demos/hsjar/holidays.jar
java sunw.demo.jhdemo.JHLauncher -helpset HolidayHistory.hs
In the TOC open all off the American Holidays so the list is full. Make sure that Easter is hidden.
Got to Index navigator and select Herod
Return to the TOC navigator. Herod under is Easter is open and selected, but not displayed.
To illustrate.
cd /usr/local/java/jh1.1/
setenv CLASSPATH javahelp/lib/jh.jar:javahelp/lib/jhtools.jar;demos/hsjar/holidays.jar
java sunw.demo.jhdemo.JHLauncher -helpset HolidayHistory.hs
In the TOC open all off the American Holidays so the list is full. Make sure that Easter is hidden.
Got to Index navigator and select Herod
Return to the TOC navigator. Herod under is Easter is open and selected, but not displayed.