Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.08 seconds.

  1. Re: Overriding Object's toString() method outside of their class

    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...
  2. Re: Overriding Object's toString() method outside of their class

    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...
  3. Re: Overriding Object's toString() method outside of their class

    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...
  4. Overriding Object's toString() method outside of their class

    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)....
Results 1 to 4 of 4