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
Developer
Posts: 813
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Basiceditfield with image

final BasicEditField answer = new  BasicEditField("","Please Select Your Prefered Language")
        {
            
        };
        answer.setEditable(false);

 

 

how can I put a background image to the basiceditfield?

 

picture.png

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Basiceditfield with image

Look at the Background class, BackgroundFactory to create the Background and then use

<field>.setBackground(..);