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

Tremetrics HT Wizard Ultra HT550 Automatic Hearing Conservation Audiometer
$39.0
Tremetrics HT Wizard Ultra HT550 Automatic Hearing Conservation Audiometer pictureDell Precision T3500 - Xeon QC E5506@2.13Ghz - 6GB DDR3 - No HDD/Video/OS |
$124.32
Dell Precision T3500 - Xeon QC E5506@2.13Ghz - 6GB DDR3 - No HDD/Video/OS | pictureLOT OF 2 INTEL XEON SLACB CPU/MICROPROCESSORS E5310
$19.99
LOT OF 2 INTEL XEON SLACB CPU/MICROPROCESSORS E5310 pictureSUPERMICRO X5DPL-8GM MOTHERBOARD W/ (2) INTEL XEON RAM:1GB
$179.95
SUPERMICRO X5DPL-8GM MOTHERBOARD W/ (2) INTEL XEON RAM:1GB pictureINTEL PROCESSOR 550MHZ PENTIUM III XEON W/HEAT SINK SL3AJ
$3.99
INTEL PROCESSOR 550MHZ PENTIUM III XEON W/HEAT SINK  SL3AJ picture






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