Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / September 2004

Tip: Looking for answers? Try searching our database.

IllegalArgumentException

Thread view: 
fm - 23 Sep 2004 19:20 GMT
Hello
Use : J2ME Wireless tookit 2.2 MIDP1
All work fine while testing my jar file. Deploying OTA > I get the
java/lang/IllegalArgumentException on my nokia 3200.
I try to display a long text (approx... 8000 caracteres...)
Could you help me please ?
regards
david

public void MonC2() {
String C1="longggg text goes here....(8000 car.) ";
TextBox t = new TextBox("FirstMIDlet",C1, 8000, 0);
t.setMaxSize(8000);
display.setCurrent(t);
}
Stuart Leonard - 23 Sep 2004 19:28 GMT
Could it be that 8000 characters is too large for the J2ME TextBox
component?  Just a guess.

> Hello
> Use : J2ME Wireless tookit 2.2 MIDP1
[quoted text clipped - 11 lines]
> display.setCurrent(t);
> }
fm - 24 Sep 2004 16:26 GMT
yes it is
I found another way
;o)
regards
david

> Could it be that 8000 characters is too large for the J2ME TextBox
> component?  Just a guess.
[quoted text clipped - 14 lines]
>> display.setCurrent(t);
>> }


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.