[jdom-interest] Element.toString() being final

Arvidsson, Hokan hokan.arvidsson at softwareag.com
Wed Jun 28 03:16:57 PDT 2000

Hi all,
The method 'toString()' of class 'Element' is declared as 'final'.
This causes problem when you use jdom in connection with the Swing JTree
When swing displays a tree node, it calls Object.toString(). Then return
value of Element.toString() is not always suited.
It would be nice to be able to overwrite Element.toString() in a sub class
to Element.
This way you may display your jdom trees very nicely.
Håkan Arvidsson
Software AG Switzerland
Tel. ..41-1-745 91 11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20000628/aa38f8dd/attachment.htm

More information about the jdom-interest mailing list