There's some sample code in the NTT pdf documentation which shows how
to use the Font class to render a string character by character, computing
where to break a line based on a desired line-length. You will need to draw
directly into a Canvas basically.
I am actually working on writing a small lightweight HTML display
widget, which will be able to wrap text and also handle hyperlinks. It
won't handle
forms or anything like that, but just enough of a subset of cHTML to display
basic text, links, and possibly inline images.
Look in one of these documents (I forget which one it was)
http://www.nttdocomo.co.jp/i/java/pdf/jguide_001212_g.pdf
http://www.nttdocomo.co.jp/i/java/pdf/jguide_api001212.pdf
Henry
At 02:21 AM 3/13/01 +0000, you wrote:
>Hi,
>
>Does anyone know of a cool way to wrap text on the imode phones using
>iappli's. Displaying it either as a label or using the drawstring doesn't
>wrap the text for me. Am i missing something or it's just not supported.
>
>Also is there a way to scroll up and down on screen without actually
>having to jump from component to component.
>
>Any help on these 2 issues would be really appreciated.
>
>Thanks,
>-Ashish
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>[ Did you check the archives? http://www.appelsiini.net/keitai-l/ ]
>
[ Did you check the archives? http://www.appelsiini.net/keitai-l/ ]
Received on Tue Mar 13 13:56:03 2001