I'm trying to make an applet show 3 random images with 1 image containing text each time it is closed or restarted.

What confuses me even more is that I have to make a random flag after the...