Hi Kim,
I can run the example successfully with java version "1.4.2_03" on Windows
2000. Which operating system are you using? Perhaps there is a problem with
your JDK or Java3D installation. Are you using Java3D 1.2.1 or later?
My first suggestion is to try running some other VisAD examples, as well as
some Java3D examples (located in j2sdk1.4.0/demo/java3d). Does the problem
occur only with AnchoredPoint, or do they all produce this exception? If it's
just AnchoredPoint, try recompiling the source file. If they all do, try
reinstalling Java and Java3D. If you have multiple versions of the JDK
installed, make sure there are no conflicts between them.
-Curtis
At 05:39 AM 2/17/2004, Kim, Seong-Han wrote:
>Hello all,
>
>I have confronted with above error message.
>This was result of running "AnchoredPoint" in
>http://www.ssec.wisc.edu/~curtis/examples/.
>I suppose that my JDK has no class DrawingSurface.
>==========java
>-version=============================================================
>java version "1.4.0"
>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
>Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
>
>==========message=================================================================
>java.lang.NoClassDefFoundError: sun/awt/DrawingSurface
> at
> javax.media.j3d.DrawingSurfaceObjectDSI.getDrawingSurfaceObjectInfo(DrawingSurfaceObjectDSI.java:75)
> at javax.media.j3d.Canvas3D.paint(Canvas3D.java:968)
> at sun.awt.RepaintArea.paint(RepaintArea.java:180)
> at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
> at java.awt.Component.dispatchEventImpl(Component.java:3586)
> at java.awt.Component.dispatchEvent(Component.java:3367)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
>
>Is there any one who knows what's problem ?
>thanks in advance.
>
>Kim
>===================================================
>
> Mr. Kim, Seong-Han
> ±è ¼º ÇÑ, ÑÑ àò ùÓ
> BCDE Team, Weathernews Korea Inc.
> http://www.weather.co.kr
> http://www.wni.com
> Office : Tel) +82-2-740-3630
> Fax) +82-2-737-8186
> H.P. : +82-17-312-6675
> alva@xxxxxxxxx , alva_ksh@xxxxxxxxxxx
>
>===================================================