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