Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 61630 invoked from network); 8 Apr 2008 11:29:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 11:29:28 -0000 Received: (qmail 44806 invoked by uid 500); 8 Apr 2008 11:29:27 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 44790 invoked by uid 500); 8 Apr 2008 11:29:26 -0000 Mailing-List: contact batik-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-users@xmlgraphics.apache.org Delivered-To: mailing list batik-users@xmlgraphics.apache.org Received: (qmail 44779 invoked by uid 99); 8 Apr 2008 11:29:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 04:29:26 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 11:28:44 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JjC0W-0007Ey-59 for batik-users@xmlgraphics.apache.org; Tue, 08 Apr 2008 04:28:56 -0700 Message-ID: <16557407.post@talk.nabble.com> Date: Tue, 8 Apr 2008 04:28:56 -0700 (PDT) From: Morkulth To: batik-users@xmlgraphics.apache.org Subject: Re: gettarget() problem In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: fquinaz@hotmail.com References: <16544408.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hello. madprog wrote: >=20 > What if you try to call the .getTarget() method ? >=20 >=20 > I get a compilation error :P >=20 > Think i might have to cast an java.awt event to a batik one? >=20 >=20 > Paul >=20 > Le 8 avr. 08 =C3=A0 02:53, Morkulth a =C3=A9crit : >> >> Hello. >> >> I have seen numerous examples on how to select an element from a =20 >> JSVGCanvas, >> all using event.gettarget(); >> >> Problem is,im not getting the .gettarget() method. >> >> I use NetBeans, and go to the JSVGCanvas properties, select a method =20 >> to >> apply onmouseclick. >> Here is my code : >> >> private void jSVGCanvas1MouseClicked(java.awt.event.MouseEvent =20 >> evt) { >> Element selected =3D (Element)evt.gettarget; >> >> //my changes here >> } >> >> it gives me an error, of not finding the gettarget method. >> >> >> Note: if i add the listener manually i get the method, but can=C2=B4t = =20 >> make it to >> work. >> >> Thank's for your time. >> >> Filipe >> Any ideas? >> --=20 >> View this message in context: >> http://www.nabble.com/gettarget%28%29-problem-tp16544408p16544408.html >> Sent from the Batik - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org >> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org >> >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org > For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org >=20 >=20 >=20 Ty, Filipe --=20 View this message in context: http://www.nabble.com/gettarget%28%29-problem= -tp16544408p16557407.html Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org