I want to have 15 images displayed on a JPanel probably in a 5x3 formation on a JPanel. These images are just little drawings that have been done in Paint and are saved as jpg's.
I created an Image class that was to contain features common to all images ie. all images would have a width (150 pixels), height (120 pixels), x position and a y position. I would then use this class in the JPanel class to show each of the 15 images onto the JPanel. Is this a good way of doing it and if so can someone show me how I get the images up. Or is there a better way of doing this?
I have posted my Image class code below for you to look at - many thanks to anyone in advance that can help me out.