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
PIN: N/A
Carrier: BPL MOBILE
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default UserInterface dev prob.

Please Login to Remove!

Hi,
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)
Offline  
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
Default

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

		g.setColor(Color.WHITE); //or whatever color you want
		g.drawRect(0, 0, fieldPreferredWidth, getExtent().height);
		 super.paint(g);
Offline  
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

Lot of 10 , 3COM 3102A 3C10402A VoIP Black Large Display Phones PE ,24 Hr Ship
$99.12
Lot of 10 , 3COM 3102A 3C10402A VoIP Black Large  Display Phones PE ,24 Hr Ship pictureNortel Avaya BCM 50 PRI or 8 Line 28 IP Phone System 30 Voicemail 8 VoIP GW MCDN
$1495.0
Nortel Avaya BCM 50 PRI or 8 Line 28 IP Phone System 30 Voicemail 8 VoIP GW MCDN pictureKonftel 55W Conference Phone, Web and Teleconferencing, VoIP
$169.95
Konftel 55W Conference Phone, Web and Teleconferencing, VoIP pictureAvaya 1608-i VoIP
$35.0
Avaya 1608-i VoIP  pictureAvaya 1616-i VoIP
$35.0
Avaya 1616-i VoIP picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.