BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 11-26-2007, 12:51 AM   #1 (permalink)
New Member
Join Date: Sep 2007
Model: 7290
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default UserInterface dev prob.

Please Login to Remove!

i want to develop a login screen for the application which will run on the blackberry handheld. user requirement is that the input boxex and the button should lie inside a square outline . i am able to make customised edit field and buttons but not able to put the outline. i just want to know is it possible??
i have attached the screedshots PFA and let me know ur feedbaks
Attached Images
File Type: jpg login.JPG (4.6 KB, 15 views)
Old 11-26-2007, 10:17 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts

create custom object that extends EditField and implement the paint method like so
public void paint(Graphics g) {

		g.setColor(Color.WHITE); //or whatever color you want
		g.drawRect(0, 0, fieldPreferredWidth, getExtent().height);
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.