Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can I instantiate a object within applet's init() method?

843807Oct 24 2002 — edited Oct 26 2002
I am trying to call a class object reference (thisObject myObject = new thisObject(string)) in init() method , but give me an error saying cannot resolve the symbol.

Comments

843807
Hello!

I think the problem is that the "thisObject.class" file is not downloaded with the applet. try the "archive= " option in the <Applet > tag to download the related class files.

I hope thid will help u. Best of Luck.

Ahmad Jamal.
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 23 2002
Added on Oct 24 2002
1 comment
53 views