With the upcoming NetBeans 5.0 release, building modules on top of the NetBeans Platform to create standalone RCP applications or simply to extend the NetBeans IDE is getting real easy. Check out this tutorial (work-in-progress, Geertjan is asking for feedback).