Following on to what @Allen stated above, proper conventions such as indenting, camelCasing, capitalized class names, etc. are just as important as the actual programming. An extremely beneficial resource (like I said before I HATE thenewboston as he doesn't explain anything) would be the Java tutorials from Derek Banas. These videos are on the lengthy side and move extremely fast through lots of different information, but he stresses the important things and explains everything you would need to know in great detail. Here's his first video:
Don't be turned off from the amount of material he presents in the short time frame. Just watch the video multiple times and before long (even if you decide to learn the information elsewhere that goes slower) you'll release that watching his video helped tremendously. His whole playlist, a whopping 94 videos, can be found here http://www.youtube.com/playlist?list=PLE7E8B7F4856C9B19