File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes MIdlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "MIdlet" Watch "MIdlet" New topic
Author

MIdlet

vishal mulik
Greenhorn

Joined: Oct 26, 2007
Posts: 2
Actually, i want information about IllegalArgumentException in MIDlet ,when i want to generate TextBox on the MIDlet browser.pls tell what exactly the problem.
luo GongWu
Greenhorn

Joined: Oct 27, 2007
Posts: 3
Originally posted by vishal mulik:
Actually, i want information about IllegalArgumentException in MIDlet ,when i want to generate TextBox on the MIDlet browser.pls tell what exactly the problem.
luo GongWu
Greenhorn

Joined: Oct 27, 2007
Posts: 3
I have the some question to your who can tell me the reason!
Thank you!
Sukitha R Udugamasooriya
Greenhorn

Joined: Jul 27, 2007
Posts: 14
Hey Luo,

OK! The following will be a possible solution. An IllegalArgumentException can be thrown because of the number of characters of your TextBox's text might have exceeded the maximum character limit defined in the TextBox constructor.

Here 's some more occations for

if maxSize is zero or less
if the constraints parameter is invalid
if text is illegal for the specified constraints

all the best


Sukitha Udugamsooriya<br />(SCJP,SCMAD,SCWCD,(SCBCD-final touch))
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MIdlet