It's been a while since I've worked in Java, so I'm pretty much relearning it. Here is what I am trying to accomplish. I have several images that are all .jpg's. They are the same size so what i want to do is have them swap out on the fly when people click on them. I don't need a button or anything, just when they click on the screen it will switch to another random image.
I am having a hard time understanding the dev documentation and was wondering if anyone could give me a brief overview of how to accomplish this I would be very grateful. Its all planned out in my head, but I am having trouble piecing it together. Thanks for your help in advance.
It goes like this:
Image 1 viewable, click
image 1 hidden, image 2 viewable, click
image 3 viewable, image 2 hidden ....................... so on and so forth.