Hi !

I wrote at the beginning of the month about a supposed problem of lazy loading.
I encountered a new problem.
I made a swing application, with a JSVGCanvas in the center, and a slider in the 
bottom which change the zoom level of the canvas using this method :
JSVGCanvas.ZoomAction za = getPlayer().svgView.new 
ZoomAction(dCurrentSliderValue/dSliderValue);
za.actionPerformed(null);

The slider values aren't importants.

If I move my mouse on the canvas (as I explained in my previous thread : "Lazy 
loading"), and then I change the zoom level, no problem.
But If I don't do the first part (i.e. no previous mouse move), when I try to zoom 
with the slider, I've got the following exception :

java.lang.NoClassDefFoundError: org/apache/batik/swing/svg/JSVGComponent$2
        at 
org.apache.batik.swing.svg.JSVGComponent$JSVGComponentListener.componentTransformChanged(JSVGComponent.java:1145)
        at 
org.apache.batik.swing.gvt.JGVTComponent.setRenderingTransform(JGVTComponent.java:518)
        at 
org.apache.batik.swing.gvt.JGVTComponent.setRenderingTransform(JGVTComponent.java:497)
        at 
org.apache.batik.swing.JSVGCanvas$AffineAction.actionPerformed(JSVGCanvas.java:539)
        at 
com.francetelecom.rd.navservice.player.SVGPlayerListeners$SliderChangeListener.stateChanged(SVGPlayerListeners.java:54)
        at javax.swing.JSlider.fireStateChanged(JSlider.java:343)
        at javax.swing.JSlider$ModelListener.stateChanged(JSlider.java:271)
        at 
javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:346)
        at 
javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:283)
        at 
javax.swing.DefaultBoundedRangeModel.setValueIsAdjusting(DefaultBoundedRangeModel.java:212)
        at javax.swing.JSlider.setValueIsAdjusting(JSlider.java:515)
        at 
javax.swing.plaf.basic.BasicSliderUI$TrackListener.mouseReleased(BasicSliderUI.java:1303)
        at java.awt.Component.processMouseEvent(Component.java:5093)
        at java.awt.Component.processEvent(Component.java:4890)
        at java.awt.Container.processEvent(Container.java:1566)
        at java.awt.Component.dispatchEventImpl(Component.java:3598)
        at java.awt.Container.dispatchEventImpl(Container.java:1623)
        at java.awt.Component.dispatchEvent(Component.java:3439)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
        at java.awt.Container.dispatchEventImpl(Container.java:1609)
        at java.awt.Window.dispatchEventImpl(Window.java:1585)
        at java.awt.Component.dispatchEvent(Component.java:3439)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

But the class is here....
Anybody understand the problem ?

Thanks in advance
Olivier

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

Reply via email to