Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

applet only works with appletviewer  RSS feed

 
Warren Lasiuk
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never come across this problem before:
I created an applet and tested it successfully in the "appletviewer". However, when I try to view it in a browser (MS IE5), before initializing, the following exception gets thrown:
exception: java.lang.NegativeArraySizeException
I only use three arrays, and they are initialized at the beginning of the "init()" method.
 
Sheela Balagopal
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
during the use of the array you by mistake might be trying to access the array by the wrong subscript
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!