Does anyone know how to make a Swing JScrollPane autoscroll
during a drag? For example, if I have a JTree in a JScrollPane, and the tree
has nodes not visible, I should be able to “drag and drop” onto one
of the non-visible nodes by autoscrolling during the drag and drop operation.
Any ideas? I have tried JScrollPane.SetAutoScrolls(true), but that does not
seem to work.
Thanks,
David L. Connerth
Director, Digital Collections Development
Gannett Media
Technologies International
513.587.2941 Phone 513.241.7219 Fax
dconnerth@xxxxxxxxxxxxxxxx