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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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