Hi, All,
Can I call notifyDestroyed() from Canvas...?
XXX extends Canvas()
{
...
MIDlet.notifyDestroyed();
...
}
Erorr Output:
-----------------------
non-static method notifyDestroyed() cannot be referenced from a static context
-----------------------
If I want to call notifyDestroyed() from Canvas, how should I do ?
Thank you very much.
Best regards,
Boki.
Tor Iver Wilhelmsen - 31 Mar 2005 07:58 GMT
> If I want to call notifyDestroyed() from Canvas, how should I do ?
Call it from an instance (non-static) method.
Boki - 31 Mar 2005 10:40 GMT
Got it!
Thank you very much!
Best regards,
Boki.
"Tor Iver Wilhelmsen" <tor.iver.wilhelmsen@broadpark.no>
???????:usm2cb8hy.fsf@broadpark.no...
>> If I want to call notifyDestroyed() from Canvas, how should I do ?
>
> Call it from an instance (non-static) method.
Darryl Pierce - 31 Mar 2005 13:32 GMT
> Hi, All,
> Can I call notifyDestroyed() from Canvas...?
You can call it from *anywhere*, provided you have a reference to the
*active* MIDlet.

Signature
Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard