Is pure java code much different than applet code?

I'm new to java and would like to focus on development? which would you all recommend would be the right type to focus on.?