Hi, following method is called by clicking Next image Button
problem is that he is displaying first image with scrollbar, but second image display without scroll bar and same as third and so on.
public void displayImage2(PlanarImage ri)
panel = new ScrollingImagePanel(ri,500, 300);
panel.setBounds(50, 300, 500, 300);