Depending on what you want to do the simplest might be to clone
https://github.com/emilianbold/incubator-netbeans or the much larger
https://github.com/emilianbold/netbeans-releases
http://wiki.netbeans.org/WorkingWithNetBeansSources might also help.
Note this thread about the donation branch:
Using OpenSansEmoji as the 'base' FONT display the emoji chars correctly.
So now we just have to add this font (or some similar) as a fallback font
when the current font can't display the text (maybe though a document
listener).
Is there an Editor expert to chek that this is the correct approach ?