The explanation is that you have to have a no-argument constructor in the class. If you don't want to put one, there should be no other constructor at all. Otherwise, it will throw that IllegalAccessException error, which from the AMS invocation on the class constructor.
Are you using the wireless toolkit from Sun? It's a great way to test your J2ME code questions, and probably the single best way to study for the exam is to write lots of little programs to test stuff out!
Plus, it's free!
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Joined: Apr 19, 2006
Yes, I am using J2ME wireless toolkit from sun.
Thanks for suggestion..
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com