Intel
Animation for Java* Package Technical FAQ
Beta 1.3.0
Installation
Q. When I try compiling with Visual
J++*, I get a compiler error that says "error
J0051: Undefined package 'anim'".
Q. I can't see the Java* Console when I
run applets on Internet Explorer*.
Q. What should I do if I run out of
environment space?
Q. When I try compiling with Symantec
Cafe*, I get a compiler error that says "Package
anim not found in import".
API
Questions
Advanced
Topics
Q. When I run Intel Animation for
Java*, I get the following fatal error:
Error - 71 on line 237
'retVal=srfSetDestWindow[[Haniim_Sufface*]unhand(parent)->hSurf,hWnd)'
Q. When I use SingleImage(image)
Intel Animation for Java tells me "A load error
has occurred."
Known Problems
A list of known problems for the Intel
Animation for Java package are available here.
Installation
Q. When
I try compiling with Visual J++, I get a compiler
error that says "error J0051:
Undefined package 'anim'".
1. Go to the Build menu and choose
Settings.
2. Go to the General tab and put these paths in the
classpath:
c:\progra~1\intel\java\classes
c:\progra~1\intel\java\classes\anim.zip
Q: I can't see the Java Console
when I run the Java applets on Internet Explorer.
You won't be able to see the Java console while
running applets on Internet Explorer, but you can
check it later, after you finish running the applets.
Go to the View menu and select Options. Select
Advanced and check the box Enable Java Logging.
Explorer will create a file called javalog.txt. This
file will be stored in C:\windows\java.
Q: What should I do if I run out
of environment space?.
To increase your environment space, open a config.sys
file in C:\ root directory from the Windows
desktop Explorer. Add SHELL=C:\WINDOWS\COMMAND.COM
/P /E:4096 to the last line.
Q. When
I try compiling with Symantec Cafe*, I get a compiler
error that says "Package anim not
found in import".
1. Go to the Project menu and choose
Settings.
2. Go to the Directories tab and add this to the
beginning of the classpath:
c:\progra~1\intel\java\classes;c:\progra~1\intel\java\classes\anim.zip
API
Questions
Advanced
Topics
Q. When I run Intel
Animation for Java, I get the following fatal error:
Error - 71 on line 237
'retVal=srfSetDestWindow[[Haniim_Sufface*]unhand(parent)->hSurf,hWnd)'.
Change color mode to 8-bit or 16-bit
(555).
Q. When I use
SingleImage(image) Intel Animation for Java tells me
"A
load error has occurred."
Check to make sure that your image file is
in the right place.
In the following code, Elvis.gif is in the same
directory as the HTML page that contains the applet.
Image image = getImage(getDocumentBase(),
"Elvis.gif");
SingleImage spriteSource = new
SingleImage(image);
If the image were in the subdirectory
"images" the code would look like this:
Image image = getImage(getDocumentBase(),
"images/Elvis.gif");
You can also use getCodeBase() instead of
getDocumentBase(). getCodeBase
returns the directory containing the class files; getDocumentBase
returns the directory containing the HTML page.
For more examples, check the source code in Intel Animation for
Java tutorial.
This page was last updated on Feb
12th, 1997.
Legal Stuff
|