Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Visitor
Posts: 1
Registered: ‎12-10-2009
My Device: Not Specified

Re: Font.setDefaultFont(Font ..) acting kind of stupid

Hi,

 

I am facing similar issue with the menu font.

It is not taking the font as the application.

 

Here is the code for my base screen from where all my screens inherit

 

    public void setFont(Font font)
    {
        // TODO Auto-generated method stub
        super.setFont(Constant.DEFAULT_FONT); // Constant.DEFAULT_FONT) is my derived font used for the application
    }  

 

Regards,

Sachin

Highlighted
Developer
Posts: 27
Registered: ‎04-01-2009
My Device: Not Specified

Re: Font.setDefaultFont(Font ..) acting kind of stupid

In my app I have a base screen class that is an extension of MainScreen, so I added setFont in the base class constructor, but this has had no effect. Any ideas or examples?