I have a array of images stored in a BufferedImage array. I want to display these images in a JFrame in a table like layout. How can I do so. Note: the number of images in the buffered image array is dynamic
I have a array of images stored in a BufferedImage array. I want to
Share
1) use
JListthere you can putIcon(fromBufferedImage),RendererreturnsJLabel/JComponentby default2) all changes (remove, reordering, add) must be done on
EDT, then better would be manage all these event fromSwingWorkerorRunnable#Thread3) put these
Objectsto theDefaultListModelforJList