I am using an application using Swing. I have to have a number of images to be displayed in the UI.
Which method will be better in terms of performance and speed?
1) Having a
String array of the image file name and constructing an ImageIcon.
or
2) Constructing ImageIcons separately for each individual image file.
Thank you in advance.
THIRU