Try using a search engine for keywords you find in code snippets you don't understand. Learn what the used classes and methods are for by reading through the results. There is a wealth of information...