[From nobody Fri Aug 6 17:07:17 2004 Return-Path: <Gamaliel.Amaudruz@epfl.ch> Received: from mail.acm.org ([199.222.69.4]) by walker.mail.mindspring.net (Earthlink Mail Service) with ESMTP id u44tan.fsaa.37kbi73.1 for <servlets@mindspring.com>; Mon, 14 Jan 2002 01:06:15 -0500 (EST) Received: from dorothy.denveronline.net (dorothy.denveronline.net [66.37.141.4]) by mail.acm.org (8.9.3/8.9.3) with ESMTP id BAA37016 for <jhunter@acm.org>; Mon, 14 Jan 2002 01:06:14 -0500 Received: from rodin.krdl.org.sg (rodin.krdl.org.sg [192.122.139.27]) by dorothy.denveronline.net (8.9.3/8.9.3) with ESMTP id XAA29966 for <jhunter@servlets.com>; Sun, 13 Jan 2002 23:05:46 -0700 (MST) Received: from mailhost.krdl.org.sg (localhost [127.0.0.1]) by rodin.krdl.org.sg (8.11.1/8.11.1) with ESMTP id g0E5xjU00111 for <jhunter@servlets.com>; Mon, 14 Jan 2002 13:59:47 +0800 (SGT) Received: from xinguont (localhost [127.0.0.1]) by mailhost.krdl.org.sg (8.9.3/8.9.3) with SMTP id OAA29757 for <jhunter@servlets.com>; Mon, 14 Jan 2002 14:05:34 +0800 (SGT) Message-ID: <000e01c19cc2$2684f240$5685a8c0@krdl.org.sg> From: "Gamaliel Amaudruz" <Gamaliel.Amaudruz@epfl.ch> To: <jhunter@servlets.com> Subject: JDOM: TreeNode & Element Date: Mon, 14 Jan 2002 14:10:21 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C19D05.33E00040" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mozilla-Status2: 00000000 This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C19D05.33E00040 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I'm trying to make a view on a JDOM tree with the Java Class JTree. For that, I have to extend the class Element of the JDOM and implement = the TreeNode interface = (http://java.sun.com/j2se/1.4/docs/api/javax/swing/tree/TreeNode.html). But I have a problem with the method "getParent" because the Element = class of JDOM already use this name = (http://www.jdom.org/docs/apidocs/org/jdom/Element.html). Do you think what the method name can change? Thanks, Gam ------=_NextPart_000_000B_01C19D05.33E00040 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I'm trying to make a view on a JDOM = tree with the=20 Java Class JTree.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>For that, I have to extend the class = Element of the=20 JDOM and implement the TreeNode interface (<A=20 href=3D"http://java.sun.com/j2se/1.4/docs/api/javax/swing/tree/TreeNode.h= tml">http://java.sun.com/j2se/1.4/docs/api/javax/swing/tree/TreeNode.html= </A>).</FONT></DIV> <DIV><FONT face=3DArial size=3D2>But I have a problem with the method = "getParent"=20 because the Element class of JDOM already use this name <A=20 href=3D"http://www.jdom.org/docs/apidocs/org/jdom/Element.html">(http://w= ww.jdom.org/docs/apidocs/org/jdom/Element.html</A>).</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Do you think what the method name can=20 change?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Thanks, Gam</FONT></DIV></BODY></HTML> ------=_NextPart_000_000B_01C19D05.33E00040-- ]