Well, there's no Java 1.6 in the /usr/ports of the version I recently installed (latest version AFAIK). The port of Netbeans is only up to 5.5 bundled. At a minimum you'd have to go look around for more current versions. Doesn't look promising as a fully kept up to date development platform.