- Subclass ChildFactory (from Nodes API), implementing createKeys and createNodeFromKey
- Create an AbstractNode passing Children.create(MyChildFactory)
- Compile, run and enjoy!
2008-01-04
Asynchronous Node children in NetBeans Platform
5 minutes playing with the new NetBeans 6 platform and I found a very useful feature. In previous post, I download URL. Using that code, I want to create a list of POJOs (that will be represented by a list of Nodes). In old NB5 days, I had to create a Thread and a lot of syncronization code to make the download run in background. In NetBeans 6 is easy as 1, 2, 3:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment