I have a JScrollPane and within it a JPanel.
The JPanel contains many other JPanels which contain various graphics, some of wich are in the viewport vieable area of the JScrollPane and some are outside of the viewport bounds.
I have been successfully using
JScrollPane.getViewport.setViewPosition(new point(x,y))
to scroll the JScrollPane's view port to objects that are not within the bounds of the viewport.
However, instead of jumping directly to the object I need a way that I can smoothly scroll to it.
How do I go about this?
Kind Regards
Scottie.