how to set the name of the node using userobjects
- by apoorva
How to set the node text.Here is the code am using
public TreeCreation(final ArrayList houseList){
Apartment= new DefaultMutableTreeNode("Apartment");
for(int i=0;i
by passing the userObject the name of the object is being displayed on the node ,how do i change the code to display h.HouseName when am using userObjects
node.getUserObject(hs.HouseName);