Search code examples
blackberry

Background image on BlackBerry


I want to have a background image and being able to put LabelField, PasswordEditField or EditField over it.
Unfortunately, only EditField displays properly, but LabelField doesn't display at all. PasswordEditField displayed but with a white background.


Solution

  • To display a label field, there should be some text set.

    LabelField label=new LabelField("Text");
    

    If there is no text, then it won't display anything.