Comment #4 on issue 63 by mr0...@mro.name: JSlider fails to render knob  
icon under Intel Macs in Java 1.5
http://code.google.com/p/piccolo2d/issues/detail?id=63

I just tried with my macbook (OS 10.5.8) and

java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02-315)
Java HotSpot(TM) Client VM (build 1.5.0_20-141, mixed mode, sharing)

trying all available JVMs 1.4.2, 1.5.0 (OS X default) and 1.6.0 I see the  
same Exception:

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:  
javax.swing.RepaintManager cannot
be cast to edu.umd.cs.piccolox.pswing.PSwingRepaintManager
        at edu.umd.cs.piccolox.pswing.PSwing.paintComponent(PSwing.java:467)
        at edu.umd.cs.piccolox.pswing.PSwing.paint(PSwing.java:351)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2809)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2815)
        at edu.umd.cs.piccolo.PCamera.paintCameraView(PCamera.java:374)
        at edu.umd.cs.piccolo.PCamera.paint(PCamera.java:356)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2809)
        at edu.umd.cs.piccolo.PCamera.fullPaint(PCamera.java:445)
        at edu.umd.cs.piccolo.PCanvas.paintComponent(PCanvas.java:784)
        at javax.swing.JComponent.paint(JComponent.java:1029)
        at javax.swing.JComponent.paintChildren(JComponent.java:864)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:864)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
        at javax.swing.JComponent.paintChildren(JComponent.java:864)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:34)
        at 
sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
        at 
sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
        at java.awt.Container.paint(Container.java:1793)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
        at sun.awt.RepaintArea.paint(RepaintArea.java:241)
        at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
        at apple.awt.CWindow.handleEvent(CWindow.java:319)
        at java.awt.Component.dispatchEventImpl(Component.java:4790)
        at java.awt.Container.dispatchEventImpl(Container.java:2143)
        at java.awt.Window.dispatchEventImpl(Window.java:2475)
        at java.awt.Component.dispatchEvent(Component.java:4544)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
        at  
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at  
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
        at  
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:  
javax.swing.RepaintManager cannot
be cast to edu.umd.cs.piccolox.pswing.PSwingRepaintManager
        at edu.umd.cs.piccolox.pswing.PSwing.paintComponent(PSwing.java:467)
        at edu.umd.cs.piccolox.pswing.PSwing.paint(PSwing.java:351)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2809)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2815)
        at edu.umd.cs.piccolo.PCamera.paintCameraView(PCamera.java:374)
        at edu.umd.cs.piccolo.PCamera.paint(PCamera.java:356)
        at edu.umd.cs.piccolo.PNode.fullPaint(PNode.java:2809)
        at edu.umd.cs.piccolo.PCamera.fullPaint(PCamera.java:445)
        at edu.umd.cs.piccolo.PCanvas.paintComponent(PCanvas.java:784)
        at javax.swing.JComponent.paint(JComponent.java:1029)
        at javax.swing.JComponent._paintImmediately(JComponent.java:5098)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:829)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
        at 
javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
        at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
        at  
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at  
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
        at  
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to