Forum Stats

  • 3,855,574 Users
  • 2,264,523 Discussions
  • 7,906,071 Comments

Discussions

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

843807
843807 Member Posts: 46,582
edited Oct 26, 2002 3:37AM in Java Applet Development
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
    843807 Member Posts: 46,582
    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.
This discussion has been closed.