copeg, when the user selects an object in the JTree, it is going to update a form to the right of it with the information of the object the user selected. How would a wrapper class effect my ability...
Type: Posts; User: aussiemcgr
copeg, when the user selects an object in the JTree, it is going to update a form to the right of it with the information of the object the user selected. How would a wrapper class effect my ability...
pbrockway2, the only thing I can think that would be problematic is that the JTree contains several different Objects, so just overriding the convertValueToText might not work. I'll try doing it with...
Actually, the real-world implementation of this is I have an Object, whose toString() method is used throughout various parts in the program. In this new class, I am adding the object to a JTree...
I have an odd question. Basically, I'm wanting to know if I can temporarily override an object's toString() method inside another class.
For example, if I had two classes (Object1 and Object2)....