The bubbles were coded by creating a class Bubbles and functions void display and void ascend. I wanted the bubbles to travel upward s next to the words because I thought if they were everywhere it would be distracting and make the poem had to read.
The poem is randomly generated with words in Strings. I set the poem to restart after a certain amount of time and when the mouse is pressed.
The photo is NOT mine, it's from google in an "underwater" search. The image is actually a thumbnail to a tutorial found here: http://www.videocopilot.net/blog/2009...