×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    264

    Form not scrolling in Lwuit

    HI
    I am faced by a strange problem in LWUIT. I have a form in which i have added multiple Buttons but the problem is that the the form is not scrolling vertically.
    If i set its setScrollable(true) then the form scrolls horizontally that is on y axis.

    I have tried all methods
    setScrollableY(true)
    setScrollablex(false)

    but all in vain .

    I want form to scroll vertically .
    But it doesnot plz help.
    Thanks & Regards
    Gaurav Gupta

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Form not scrolling in Lwuit

    Hi, Gaurav

    Try this :


    setScrollable();
    setScrollableX(true);
    setScrollableY(true);

    Note:
    Also insert the Layout syntax after the declaration of the form.

Similar Threads

  1. problem in back and forth of LWUIT form and normal form in j2me
    By jugal.inani in forum Mobile Java General
    Replies: 8
    Last Post: 2010-06-09, 12:24
  2. lwuit scrolling
    By m-lamaa in forum Mobile Java General
    Replies: 3
    Last Post: 2010-05-27, 15:43
  3. LCDUI Alert on an LWUIT Form
    By slugger_2003 in forum Mobile Java General
    Replies: 0
    Last Post: 2010-04-18, 13:01
  4. Lwuit form Invalidate
    By ingsaurabh in forum Mobile Java General
    Replies: 13
    Last Post: 2010-04-10, 19:57
  5. Form scrolling Problem
    By dhanyap in forum Mobile Java General
    Replies: 2
    Last Post: 2007-12-28, 12:44

Posting Permissions

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