×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    22

    List of lwuit...?

    Hi everyone
    Is there any method to wrap text of list if it is longer than mobile screen.
    For example if i have something like this

    HTML Code:
    com.sun.lwuit.List;
    
    List list = new List();
    list.addItem("long text long text long text long text");
    How to make it to go in the next line if it is longer than screen !

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: List of lwuit...?

    AFAIK there is no inbuilt methods for the same.

    You should have a search over the web and if I remember correctly then you should have to write your own word wrap.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    22

    Re: List of lwuit...?

    Yes it's true it's needable to implements listcellrenderer interface.
    Thanks at all.

Similar Threads

  1. Image in a LWUIT list
    By HasithaRandika in forum Mobile Java General
    Replies: 7
    Last Post: 2011-06-06, 14:26
  2. problem with LWUIT list scoller
    By dr.dream in forum Mobile Java General
    Replies: 9
    Last Post: 2010-04-21, 20:15
  3. LWUIT List
    By HasithaRandika in forum Mobile Java General
    Replies: 1
    Last Post: 2009-10-31, 14:21
  4. LWUIT List heigth
    By stanleek in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2009-05-27, 11:39
  5. LWUIT List
    By HasithaRandika in forum Mobile Java General
    Replies: 1
    Last Post: 2009-02-26, 10:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×