I hav a
Box box = new Box(BoxLayout.Y_AXIS);i create a JScrollPane and add the box to the scroll pane.
JScrollPane scroll = new JScrollPane(box)Then I go on adding JLabels to the box dynamically (at runtime)..
when there r too many JLabels to be fitted within the visible part of the box, the vertical scroll bar appears.
My problem is the scroll bar doesn't automatically scroll down to show the most recently added labels. To see them I have to manually scroll it down.
Is there a way so that the scroll bar of scroll pane automatically scrolls down to display the most recently added JLabels.
Thanks in advance..
