xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <...@mcc.id.au>
Subject Re: MouseEvent.getButton() always return 1
Date Thu, 20 Sep 2007 13:16:21 GMT
Qian Li:
> I have download the SVN from
> http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/
> I have used ant jars to generate jar files, and I use
> batik-1.7/batik.jar as my library.
> However the mouse click getButton() still always returns me 1.
> Do you know what maybe wrong? Do you mind send me the related jar file
> which I can use? Thank  you so much for your help.

Do you have an example document/program that doesn’t work?  This
document works for me, for example:

  <svg xmlns='http://www.w3.org/2000/svg' width='400' height='300'>
    <rect width='100' height='100' onclick='alert(evt.button)'/>

Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message