The version of NetBeans that I use is 6.5.1
Install http://plugins.netbeans.org/plugin/36810/show-and-change-line-endings in netbean and it will show the line break in bottom right task bar inside netbean also you can switch between Windows, Linux and Mac.