Hi,
Dear Sir/Ma'am
When I run your P5_10 program, the following error messages show it cannot read
in *.gif file. But the file whick I am using is .gif file. I do not know what
it is wrong. I hope I can got your help.
D:\JBuilder8\jdk1.4\bin\javaw -classpath
"C:\VisADJython\p4\classes;C:\VisADJython\visad.jar;C:\VisADJython\jre\lib\ext\j3dcore.jar;D:\JBuilder8\jdk1.4\demo\jfc\Java2D\Java2Demo.jar;D:\JBuilder8\jdk1.4\demo\plugin\jfc\Java2D\Java2Demo.jar;D:\JBuilder8\jdk1.4\jre\lib\charsets.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\dnsns.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\ldapsec.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\localedata.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\sunjce_provider.jar;D:\JBuilder8\jdk1.4\jre\lib\im\indicim.jar;D:\JBuilder8\jdk1.4\jre\lib\jaws.jar;D:\JBuilder8\jdk1.4\jre\lib\jce.jar;D:\JBuilder8\jdk1.4\jre\lib\jsse.jar;D:\JBuilder8\jdk1.4\jre\lib\rt.jar;D:\JBuilder8\jdk1.4\jre\lib\sunrsasign.jar;D:\JBuilder8\jdk1.4\lib\dt.jar;D:\JBuilder8\jdk1.4\lib\htmlconverter.jar;D:\JBuilder8\jdk1.4\lib\tools.jar;C:\VisADJython\visad\java3d;C:\VisADJython\visad"
P5_10 image_1 image_2
visad.VisADException: IOException: Not an image
at visad.data.gif.GIFForm.open(GIFForm.java:91)
at P5_10.<init>(P5_10.java:87)
at P5_10.main(P5_10.java:223)
Exception in thread "main"
Many thanks.
Guangdi Li
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455