Embedding a component in the IDE is something I've discussed in a
few blog entries a while ago. Now there's also a tutorial
available. You start with the Anagram sample, which is the standard
J2SE sample that is shipped with the IDE. (To have a look at it,
press Ctrl-Shift-N, expand Samples, then General, and then select
Anagram Sample. Click Next and then Finish.) During the tutorial,
you learn about a few of the NetBeans APIs and you acquaint
yourself with the new GUI...