my dog learned polymorphism*
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 Java 8 in Action this week in the Java 8 forum!
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!
I agree. Here's the link:
subject: IllegalAccessException
Similar Threads
Why won't my BACK BUTTON work?
Horizantal image scroll in J2ME form
Problem in basics
Current focused item in the form
Getting Battery Level