×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    8

    How to change the Tabbed pane color in lwuit using netbeans?

    I am new to netbeans and Lwuit , i need to change the tabbedpannel backgreound color and font color of the tab i used the following codes it works fine for label but for tab it is not working.

    TabbedPane tabpannel = new TabbedPane(TabbedPane.TOP);

    tabpannel.addTab("Tab 1", new Label("I am a TabbedPane!"));
    tabpannel.addTab("Tab 2", new Label("Tab number 2"));

    Style TbStyle = tabpannel.getStyle();
    TbStyle.setBgColor(555555);
    TbStyle.setFgColor(00000000);

    Please say the changes and code i have to do this things done

  2. #2
    Regular Contributor
    Join Date
    Aug 2010
    Location
    Chennai, India.
    Posts
    176

    Re: How to change the Tabbed pane color in lwuit using netbeans?

    Hi karuna..,

    I'm also facing the same problem.. i also want to change the tabbedpane background color and font color of the tab.

    we can directly use the methods of lwuit..? or by using low level UI like canvas..?


    please suggest me any ideas....?

Similar Threads

  1. How to display Image in netbeans using Lwuit?
    By karuna. in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2011-04-05, 08:48
  2. LWUIT Tabbed-pane problem
    By crimson2009 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2010-10-18, 18:08
  3. How to change the color of font on the status pane and CBA>
    By jeffreyRyang in forum Symbian User Interface
    Replies: 0
    Last Post: 2009-01-14, 09:18
  4. Replies: 8
    Last Post: 2008-09-25, 10:01

Posting Permissions

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