You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "Bishop, Michael W. CONTR J9C880" <Mi...@je.jfcom.mil> on 2006/03/20 19:40:51 UTC
GraphicsNodeMouseEvent.getLockState() ???
I just installed the March 16th 2006 version of Batik from the nightly
builds. When I run my application, I get the following error, relating
to the subject:
[java] java.lang.NoSuchMethodError:
org.apache.batik.gvt.event.GraphicsNode
MouseEvent.getLockState()I
[java] at
org.apache.batik.bridge.BridgeEventSupport$Listener.dispatchM
ouseEvent(Unknown Source)
[java] at
org.apache.batik.bridge.BridgeEventSupport$Listener.mouseEnte
red(Unknown Source)
[java] at
org.apache.batik.gvt.event.AWTEventDispatcher.processMouseEve
nt(Unknown Source)
[java] at
org.apache.batik.gvt.event.AWTEventDispatcher.dispatchMouseEv
ent(Unknown Source)
[java] at
org.apache.batik.gvt.event.AWTEventDispatcher.dispatchEvent(U
nknown Source)
[java] at
org.apache.batik.gvt.event.AWTEventDispatcher.mouseMoved(Unkn
own Source)
[java] at
org.apache.batik.swing.svg.AbstractJSVGComponent$SVGListener$
1MouseMovedRunnable.run(Unknown Source)
[java] at org.apache.batik.util.RunnableQueue.run(Unknown
Source)
[java] at java.lang.Thread.run(Thread.java:595)
Is there anything I can do to remedy this? I looked in the source and
sure enough, that method's not there. I don't call it, so I'm not sure
how to work around the issue.
Michael Bishop
Re: GraphicsNodeMouseEvent.getLockState() ???
Posted by th...@kodak.com.
Hi all,
You should delete your classes directory and rebuild.
My guess is the subclass didn't get rebuilt when the parent was changed.
Cameron McCormack <ca...@mcc.id.au> wrote on 03/20/2006 05:33:12 PM:
> Hi Michael.
>
> Bishop, Michael W. CONTR J9C880:
> > I just installed the March 16th 2006 version of Batik from the nightly
> > builds. When I run my application, I get the following error,
relating
> > to the subject:
> >
> >
> >
> > [java] java.lang.NoSuchMethodError:
> > org.apache.batik.gvt.event.GraphicsNode
> >
> > MouseEvent.getLockState()I
> ...
> > Is there anything I can do to remedy this? I looked in the source and
> > sure enough, that method's not there. I don't call it, so I'm not
sure
> > how to work around the issue.
>
> The method is there, it's just in the superclass GraphicsNodeInputEvent.
> It is called for every mouse event that is dispatched. I just
> downloaded batik-nightly-2006-03-16.zip and the
> GraphicsNodeInputEvent.class file does have a getLockState() function in
> it. Are you sure you have your classpath and everything set up
> properly?
>
> --
> Cameron McCormack ICQ: 26955922
> cam (at) mcc.id.au MSN: cam (at) mcc.id.au
> http://mcc.id.au/ JBR: heycam (at) jabber.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: GraphicsNodeMouseEvent.getLockState() ???
Posted by Cameron McCormack <ca...@mcc.id.au>.
Hi Michael.
Bishop, Michael W. CONTR J9C880:
> I just installed the March 16th 2006 version of Batik from the nightly
> builds. When I run my application, I get the following error, relating
> to the subject:
>
>
>
> [java] java.lang.NoSuchMethodError:
> org.apache.batik.gvt.event.GraphicsNode
>
> MouseEvent.getLockState()I
...
> Is there anything I can do to remedy this? I looked in the source and
> sure enough, that method's not there. I don't call it, so I'm not sure
> how to work around the issue.
The method is there, it's just in the superclass GraphicsNodeInputEvent.
It is called for every mouse event that is dispatched. I just
downloaded batik-nightly-2006-03-16.zip and the
GraphicsNodeInputEvent.class file does have a getLockState() function in
it. Are you sure you have your classpath and everything set up
properly?
--
Cameron McCormack ICQ: 26955922
cam (at) mcc.id.au MSN: cam (at) mcc.id.au
http://mcc.id.au/ JBR: heycam (at) jabber.org
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org