Re: IllegalArgumentException
From: Stuart Leonard (suncds_at_verizon.net)
Date: 09/23/04
- Previous message: Colin Paul Gloster: "Dealing with inheritance anomalies in Java"
- Next in thread: fm: "Re: IllegalArgumentException"
- Reply: fm: "Re: IllegalArgumentException"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 18:28:04 GMT
Could it be that 8000 characters is too large for the J2ME TextBox
component? Just a guess.
"fm" <valide@nonvalide.com> wrote in message
news:4152959e$0$15750$7a628cd7@news.club-internet.fr...
> 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);
> }
>
>
- Previous message: Colin Paul Gloster: "Dealing with inheritance anomalies in Java"
- Next in thread: fm: "Re: IllegalArgumentException"
- Reply: fm: "Re: IllegalArgumentException"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]