File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Problem in basics
Why won't my BACK BUTTON work?
Current focused item in the form
Getting Battery Level
Horizantal image scroll in J2ME form