Here is a simple, generalized, undocumented wrapper class that I just improvised which demonstrates using a wrapper class to allow different String's to be returned by the toString method depending...
Type: Posts; User: copeg
Here is a simple, generalized, undocumented wrapper class that I just improvised which demonstrates using a wrapper class to allow different String's to be returned by the toString method depending...
Any reason why you can't just create a wrapper class which wraps the Object of interest and returns the appropriate String value for the JTree, then add these to the JTree?