The version of NetBeans that I use is 6.5.1
I don't know how to do this using NetBeans, but if you store your code in a Subversion repository, you might want to look into the svn property svn:eol-style.