posted 19 years ago
I have a JTree that is displaying part numbers. I have had a request from users that I also display the description of the part number. Is there a way that I can display 2 columns of data on one tree node? Otherwise, the only other way I know how to do this is to get the description and concatenate it with the part number. Which would cause me problems as I have a popup menu attached to the tree nodes that takes the value of the node (part number) and passes it to another application. How would I be able to tell it that I only want the part number to be passed and not the description?
Thanks for any help!