×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2012
    Location
    India
    Posts
    103

    How to display a Form Screen on LWUIT Tabs?

    Hii
    i have created the tabs
    Tabs tabs = new Tabs(Tabs.TOP);
    i have list items on LWUIT form,i have to disply that form on tabs,when the user clicked on a tab. how to add that form to tab,after form.show() or before? i need to display first tab as default with Form Screen?

  2. #2
    Nokia Developer Expert
    Join Date
    May 2012
    Location
    Espoo
    Posts
    224

    Re: How to display a Form Screen on LWUIT Tabs?

    create main form like below:
    Form mainForm = new Form("Form Title");
    create TabbedPane, and add list items form to tabbed pane
    TabbedPane tabbedPane = new TabbedPane(TabbedPane.TOP);
    tabbedPane.addTab("Tab 1", listForm1);
    tabbedPane.addTab("Tab 2", listForm2);
    ....
    finally add tabbedPane to main form
    mainForm.addComponent(tabbedPane);

  3. #3
    Registered User
    Join Date
    Jul 2012
    Location
    India
    Posts
    103

    Re: How to display a Form Screen on LWUIT Tabs?

    when should i place my listForm1 to addTab method before listForm1.show() or after?TabbedPane is depricated one,can i use it?



    Quote Originally Posted by bandarap View Post
    create main form like below:

    create TabbedPane, and add list items form to tabbed pane

    finally add tabbedPane to main form

  4. #4
    Nokia Developer Expert
    Join Date
    May 2012
    Location
    Espoo
    Posts
    224

    Re: How to display a Form Screen on LWUIT Tabs?

    depends on design choice. you can call later or earlier.

Similar Threads

  1. How to identify List item in lwuit Form Screen?
    By pavanragi in forum Mobile Java General
    Replies: 6
    Last Post: 2012-08-08, 08:39
  2. How to append LWUIT List screen to a LWUIT Form in j2me?
    By pavanragi in forum Mobile Java General
    Replies: 1
    Last Post: 2012-08-06, 07:01
  3. LWUIT: tabs - how to mark the currently selected tab?
    By azakharo in forum Mobile Java General
    Replies: 3
    Last Post: 2011-12-09, 08:54
  4. Display midlet to form lwuit
    By kumar1234567 in forum Mobile Java General
    Replies: 1
    Last Post: 2011-04-27, 11:32
  5. How to display Form and listbox control on same screen
    By prashant.sharma in forum Symbian User Interface
    Replies: 0
    Last Post: 2010-07-26, 13:07

Posting Permissions

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