wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes IllegalAccessException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "IllegalAccessException" Watch "IllegalAccessException" New topic
Author

IllegalAccessException

Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
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

Joined: Jan 18, 2002
Posts: 35
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

Joined: May 10, 2001
Posts: 98
Yeap, thanks!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: IllegalAccessException