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

Comdial DXP DXCPU-68K CPU Board Refurbished
$159.99
Comdial DXP DXCPU-68K CPU Board Refurbished  pictureALLEN BRADLEY PLC-5/11 PROCESSOR MODULE 1785-L11B/E SERIES E REV E
$59.99
ALLEN BRADLEY PLC-5/11 PROCESSOR MODULE 1785-L11B/E SERIES E REV E pictureAllen-Bradley 1745-LP101 Ser. D Processor Unit SLC100 Programmable Controller-
$60.0
Allen-Bradley 1745-LP101 Ser. D Processor Unit SLC100 Programmable Controller-  pictureAllen-Bradley 1747-L532 Series D SLC 500 Processor Unit 5/03 CPU
$50.0
Allen-Bradley 1747-L532 Series D SLC 500 Processor Unit 5/03 CPU pictureToshiba Strata B3CBU1A V.3A Expansion Processor Card Untested AS-IS
$70.0
Toshiba Strata B3CBU1A V.3A Expansion Processor Card Untested AS-IS picture






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