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
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "IllegalAccessException" Watch "IllegalAccessException" New topic


Tom Diamond
Ranch Hand

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

[ 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!
It is sorta covered in the JavaRanch Style Guide.
subject: IllegalAccessException
Similar Threads
Current focused item in the form
Horizantal image scroll in J2ME form
Why won't my BACK BUTTON work?
Problem in basics
Getting Battery Level