I'm new to working with files in
Java and I'm stuck. I have a simple GUI interface that has a number of JLabels. My objective is to:
1. Allow the user to pick a directory that has .jpg files in it (I've got this code already)
2. Read through the directory the user choose and populate an Array with each of the .jpg files in the directory (there could be up to 100)
3. Take the first 6 .jpg images (from the array in the previous step) and populate them in the JLabels visible on the screen
I know it's simple but I've done Google searches and watched videos on YouTube but can't find exactly what I'm describing above. Any help would be appreciated
Sincerely,
Mr. Newbie