Hi to all;
--------------
I have a folder called " image " , i want to read random image to display over panel . How can i do this ?
--------------------------------------------------------------------------------------------------------------------------
I know the to read an image file , it's like this :
BufferedImage image =ImageIO.read(getClass().getResource("Sunset.jpg"));
But how can i read it randomly from a folder have a lot of images .
Thanks in advance