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

NEW IBM SELECTRIC III TYPEWRITER PART, WHITE LEFT MARGIN POINTER OEM NOS
$9.99
NEW IBM SELECTRIC III TYPEWRITER PART, WHITE LEFT MARGIN POINTER OEM NOS  pictureIBM 1299790 Quiet Non-Correcting Ribbon for Quietwriter Typewriters, Black, OEM
$10.0
IBM 1299790 Quiet Non-Correcting Ribbon for Quietwriter Typewriters, Black, OEM pictureNEW OEM IBM Selectric III Bicycle Ribbons #1299508 and Lift-Off Tapes #1136433
$27.95
NEW OEM IBM Selectric III Bicycle Ribbons #1299508 and Lift-Off Tapes #1136433 pictureLot of 5 OEM IBM Selectric II and III 6-Packs of Lift Off Correction Tapes
$27.95
Lot of 5 OEM IBM Selectric II and III 6-Packs of Lift Off Correction Tapes pictureIbm 39v1063 Toner Cartridge - Black - Laser - Oem (39V1063)
$411.36
Ibm 39v1063 Toner Cartridge - Black - Laser - Oem (39V1063) picture






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