FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Programs
(Moderators: fry, REAS)
   Applet can't be instantiated
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Applet can't be instantiated  (Read 311 times)
JYau


Applet can't be instantiated
« on: Nov 20th, 2003, 5:14pm »

I have created an applet "fire", but it cannot be seen in some machines. The browser shows an error "load: fire can't be instantiated". Does anyone know how to fix this? Thanks.
 
my "fire" applet
http://people.sd.polyu.edu.hk/~sdjohn/fire/
 
------
JYau
 
fry


WWW
Re: Applet can't be instantiated
« Reply #1 on: Nov 20th, 2003, 5:34pm »

it's because you're using "final int" at the beginning, whcih doesn't work in java 1.1, which is running on some machines. change that to "static final int" and you should be ok, so long as you aren't using any other 1.3 stuff.
 
this is also documented in bugs.txt.
 
JYau


Re: Applet can't be instantiated
« Reply #2 on: Nov 21st, 2003, 4:15am »

Thanks.
It works now.
 
Pages: 1 

« Previous topic | Next topic »