Intern87
Intern87

Reputation: 479

Beans Binding for JTrees

Is beans binding for JTrees currently supported? I've found this forum post from 2008, but I didn't know if there was any development.

If it does exist does anyone know where i might find some documentation on it?

Upvotes: 5

Views: 1747

Answers (1)

tPeltola
tPeltola

Reputation: 21

There is no beans binding, but the closest thing I know of would be NetBeans Nodes API with Explorer API. Using BeanNode and BeanTreeView ordinary Java Beans would be quite easy to bind to a JTree. This http://platform.netbeans.org/tutorials/nbm-nodesapi2.html tutorial goes much deeper, but the basic idea should be there. Depending on your use case this might not be that useful, but I find Node much easier to work with than pure TreeModel.

Upvotes: 0

Related Questions