0

I am new to lwuit. I have to change the tab background color and font color. I used

Tabbedpannel tabpannel = new Tabbedpannel();
style tabcolor =tabpannel.setBgcolor(111);

but the color of the tab is not changing...

Any one can help me..?

Thanks in advance...

Nimmy..

bharath
  • 14,283
  • 16
  • 57
  • 95
Nimmy
  • 5,051
  • 7
  • 33
  • 32

1 Answers1

0

try tabpannel.getStyle().setBgColor(111)

Nirmal- thInk beYond
  • 11,847
  • 8
  • 35
  • 46
  • TabbedPan id deprecated , use `Tabs` class, and use `Tabs tab = new Tabs(); tabs.getTabsContainer().getStyle().setBgColor(111);` for font color- use `setFgcolor()` method. use int 16711680 for test its red – Nirmal- thInk beYond Apr 06 '11 at 09:53