>>>>> "GA" == Georg A <[EMAIL PROTECTED]> writes:

GA> Has anyone experiences with batik on a mac (OS X, for the start)?
GA> When I test my application on a pc, the zooming an
GA> panning(ctrl+left mouse button, etc.) works fine, on my mac I can
GA> rotate the svg, i can zoom out with ctrl+o, but i can't zoom in,
GA> ctrl+i doesn't work and if I use ctrl+left mouse button, I get
GA> null pointer exceptions:

    Hmm, looks like a JVM problem (doesn't seem to like drawing th
zoom recticle over the image).  I don't really know what we could do
about this... You could try changing the way the zoom recticle is
drawn in AbstractZoomInteractor...

    You could also try using shift right mouse (which I know not all
mice have on Apple - but you could get one or swap the actions in the
Batik source).  This does an 'interactive' zoom.

GA> ******************************************* Exception occurred
GA> during event dispatching: java.lang.NullPointerException at
GA> com.apple.mrj.internal.awt.graphics.GLPen.getOnscreenBits(GLPen.java:693
GA> ) at
GA> com.apple.mrj.internal.awt.graphics.GLImageBasedBackOffSystem.fullCompos
GA> itePaintDrawOrFillBackOff(GLImageBasedBackOffSystem.java:164) at
GA> com.apple.mrj.internal.awt.graphics.GLImageBasedBackOffSystem.drawOrFill
GA> BackOff(GLImageBasedBackOffSystem.java:114) at
GA> com.apple.mrj.internal.awt.graphics.GLImageBasedBackOffSystem.draw(GLIma
GA> geBasedBackOffSystem.java:89) at
GA> com.apple.mrj.internal.awt.graphics.GLPen.draw(GLPen.java:1670) at
GA> com.apple.mrj.internal.awt.graphics.GLPen.drawLine(GLPen.java:791)
GA> at
GA> com.apple.mrj.internal.awt.graphics.PenGraphics.draw(PenGraphics.java:22
GA> 4) at
GA> org.apache.batik.swing.gvt.AbstractZoomInteractor$ZoomOverlay.paint(Unkn
GA> own Source) at
GA> org.apache.batik.swing.gvt.AbstractZoomInteractor.mouseDragged(Unknown
GA> Source) at
GA> org.apache.batik.swing.gvt.JGVTComponent$Listener.mouseDragged(Unknown
GA> Source) at
GA> java.awt.Component.processMouseMotionEvent(Component.java:3755) at
GA> javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2298)
GA> at java.awt.Component.processEvent(Component.java:3544) at
GA> java.awt.Container.processEvent(Container.java:1159) at
GA> java.awt.Component.dispatchEventImpl(Component.java:2589) at
GA> java.awt.Container.dispatchEventImpl(Container.java:1208) at
GA> java.awt.Component.dispatchEvent(Component.java:2493) at
GA> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
GA> at
GA> java.awt.LightweightDispatcher.processMouseEvent(Container.java:2200)
GA> at
GA> java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
GA> at java.awt.Container.dispatchEventImpl(Container.java:1195) at
GA> java.awt.Window.dispatchEventImpl(Window.java:966) at
GA> java.awt.Component.dispatchEvent(Component.java:2493) at
GA> java.awt.EventQueue.dispatchEvent(EventQueue.java:334) at
GA> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
GA> d.java:126) at
GA> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
GA> java:93) at
GA> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
GA> at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
GA> ********************************* thanks a lot!

GA> Georg

GA> --



GA> Georg Apitz

GA> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ WALS Project
GA> Executive Programmer

GA> Max Planck Institute for Evolutionary Anthropology Inselstrasse 22
GA> 04103 Leipzig Germany Phone: +49 (0) 341 99 52 - 257 Telefax: +49
GA> (0)341 99 52 - 119

GA> [EMAIL PROTECTED] www.eva.mpg.de www.ge-org.com
GA> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


GA> ---------------------------------------------------------------------
GA> To unsubscribe, e-mail: [EMAIL PROTECTED] For
GA> additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to