• Post Reply Bookmark Topic Watch Topic
  • New Topic

IllegalAccessException

 
Tom Diamond
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am trying to write a simple MIDlet, but I still get an IllegalAccessException when trying to run it (with the emulator). Any ideas? Here is the code ...
Tnx, in advance,
Tom.

[ August 17, 2002: Message edited by: Tom Diamond ]
 
Liam Quinn
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "images" array that you pass to the ChoiceGroup constructor needs to either be null or the same length as the "choices" String array.
 
Tom Diamond
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeap, thanks!
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!