I am using LWUIT .

I want to set my own font which i have created in the Lwuit kit. Font to the Form

How to apply the Font to the Form ..

when i tried
font=res.getfont("FontFromLwuit"); //it will get the font from the resource file ..


i am not able to apply this style.

but when i use


here the Style is applying ..

is it the problem with the way i am applying the font to the Form or anything else ..

thanks regards
Yakub Pasha