There is, unfortunately, very little to explain when learning patterns. There's no rhyme or reason behind most of the more complex ones, but you should be able to find some good information with a google of
'rubik's cube patterns java'.
There's a good list here, but with no java applets or videos. But if you want to play with the cube, it's worth it to learn the correct notation. http://www.math.ucf.edu/~reid/Rubik/patterns.html
And you could learn some blindfolded techniques (for use without blindfold) to put pieces wherever you want. It's a little complex, but there's a lot of good info with java applets here: http://cubefreak.net/blindfoldcubing_guide.html
And, of course, if you want to design your own patterns: