Templates for Rapidly Developing Java Programs

So here I plan to store as much modular or the most exemplar code that will help me (maybe you too) rapidly develop java programs. When it come to java programming, there is just too much detail to remember. I know your supposed to start by planning out what you are going to do through algorithms, but for newbies it is hard to remember and therefore match the different structures of java code to various algorithms. To amend that part of memory, here I will store templates when I need for reference.

What's Your Opinion?