[tcljava-user] Using Tcl Blend with NASA WorldWind Java SDK
Brought to you by:
mdejong
From: <Dan...@dl...> - 2007-05-23 17:34:15
|
Hi, =20 I'm trying to use Tcl Blend together with the NASA WorldWind Java (WWJ) = SDK, i.e. creating WWJ objects from Tcl, accessing their fields, = invoking their methods, etc. [WWJ uses JOGL for the visualization of a = virtual globe (analogous to Google Earth)] =20 I have been able to create JOGL objects from Tcl, such as GLCanvas, = GLJPanel, and some WWJ objects such as IconLayer, = EarthNASAPlaceNameLayer, etc. but I have not been able to create some = WWJ objects, in particular WorldWindowGLCanvas and WorldWindowGLJPanel. =20 Specifically, I get the following error message when trying to create a = WorldWindowGLCanvas object from jtclsh: =20 medina@onyx:/opt/tclblend/bin> ./jtclsh % package require java 1.4.0 % java::call System getProperty "java.version" 1.5.0_06 % java::new javax.swing.JFrame java0x1 % java::new javax.media.opengl.GLCanvas java0x2 % java::new gov.nasa.worldwind.layers.IconLayer java0x3 % java::new gov.nasa.worldwind.layers.Earth.EarthNASAPlaceNameLayer java0x4 % java::new gov.nasa.worldwind.awt.AWTInputHandler java0x5 % java::new gov.nasa.worldwind.awt.WorldWindowGLCanvas java.lang.ExceptionInInitializerError % =20 I would appreciate it if anyone could provide some help on this. =20 Thanks in advance! Daniel |