I have to read 10000 or more images from a folder and display it in a Jpanel
.
At a time user can view 5 rows in the screen. When user scroll down I should load the other 5 rows in to the screen.
When user scroll down I want to unload those previous loaded images from memory and load it again when user scroll up.
How can I achieve this?
What is the best way to load image in to panel with high performance.
Without scrolling what could be the alternative way to display large number(more than 10000) images to Jpanel
.