Pls i am a new member of dani web and i need help on implementing random images.
I have got six gif images on my frame ,a JComboBox and a Button.the JComboBox displays the images if each one is clicked.I want to add an actionlistener to the Button so that when the button is clicked it selects one of the images at Random and displays it on the JFrame.Pls how do i do this.how do i add the actionListener to this button?
Thank you all, pls i really need help for this.I would be very grateful if anyone can show me how to go about implementing this.
Thanks.
Omosjigga:confused: