Cookies are a design pattern used to add behaviors to existing data object and nodes, or to separate implementation from the main object.
NetBeans uses nodes to represent JavaBeans or other property containers, formed into a hierarchical tree.
ChildFactory is useful for creating node children lazily on a background thread, and for simplifying working with Children.Keys. One oversight in the original API was providing for notification that the nodes created by the ChildFactory are no longer in use and should clean up any resources.
DestroyableNodesFactory is an abstract class which adds destroyNodes methods to ChildFactory.Detachable.
to allow convenient way of registering BeanInfo search path.
to allow convenient way of registering property editors.
ChildFactory.createKeysbetter supports incremental display
An implementation of
ChildFactory.createKeys may now
List.add a number of times and return true at the
end, while still displaying keys incrementally.
NodeOperation.showCustomEditorDialog method that shows a modal dialog for given property
just like when the [...] button in property sheet is pressed.
For general overview of the concepts related to nodes and explorers, together with code samples, see chapter 7, of NetBeans Platform for Beginners by Jason Wexbridge and Walter Nyland.
Read more about the implementation in the answers to architecture questions.