toString behavior
Scott Cytacki <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <1091109560.8838.146.camel@gentoo> |
I just found an interesting part of ozone. I wanted to display a tree of ozone objects in a swing JTree. JTree claims it will let you use any object as a node in the tree. However there is one constraint. The toString() method of the object has to return the name of the node in the tree view. While trying this I realized that the toString method is not handled by opp. The proxy objects it creates do not proxy this method. Should it be proxied? Scott ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click