<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=546340710-28062000>Hi
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=546340710-28062000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=546340710-28062000>The method
'toString()' of class 'Element' is declared as 'final'.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=546340710-28062000>This causes problem
when you use jdom in connection with the Swing JTree class.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=546340710-28062000>When swing displays
a tree node, it calls Object.toString(). Then return value of Element.toString()
is not always suited.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=546340710-28062000>It would be nice to
be able to overwrite Element.toString() in a sub class to
Element.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=546340710-28062000>This way you may
display your jdom trees very nicely.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=546340710-28062000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=546340710-28062000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=546340710-28062000>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=546340710-28062000>Håkan</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=546340710-28062000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2>Håkan Arvidsson</FONT></DIV>
<DIV><FONT face=Arial size=2>Consultant</FONT></DIV>
<DIV><FONT face=Arial size=2>Software AG Switzerland</FONT></DIV>
<DIV><FONT face=Arial size=2>Tel. ..41-1-745 91 11</FONT></DIV>
<DIV> </DIV></BODY></HTML>