By default NetBeans converts every Tab into 4 spaces. But, if a source, created by some other editor and brought into NetBeans, has Tab's already NetBeans does not interpret them. So, such sources look misaligned in NetBeans editor.

Windows Live™: Keep your life in sync. Check it out.