Use a JTree bean to provide a view of objects from a tree data model. Use the tree model to define or derive the objects for the tree.
You should not use a JTree bean with AWT components. Although Swing and AWT beans can be mixed, it is inadvisable.
Adding a Table or Tree View
Table and Tree Beans
Beans for Visual Composition