Ryan
Ryan

Reputation: 359

Java Image slider?

I've looked on google & on every page it's all 'Javascript Sliders'. The only link I could find was Image slider & am curious if there is a newer and/or better way of doing this beings that was asked 4 years ago.

If anyone has some tips or knows anything about this thanks.

Upvotes: 1

Views: 451

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168825

If the images are the same aspect ratio, you might us something like ListView1

Alternately I'd offer a File based list (with an appropriate renderer) in the LINE_START of a BorderLayout that shows the image in a JLabel centered in a JScrollPane in the CENTER. An example of the 'label in scroll-pane' can be seen in ImageViewer2.

Upvotes: 3

Related Questions