-1

Hi i want to create a login form in blackberry, I have taken the username and password from the user but i want the username and password to appear inside the round rectangular text box.

But I am not able to draw a round rectangle Any help?

j2me
  • 189
  • 11

1 Answers1

0

On BBOS 4.6 and later, you can create a net.rim.device.api.ui.decor.Border object and pass it to a field's setBorder() method. Look at the net.rim.device.api.ui.decor.BorderFactory class to help you construct Border objects, such as with one of its createRoundedBorder() methods.

Remy Lebeau
  • 454,445
  • 28
  • 366
  • 620