BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-25-2007, 07:57 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default can we change the color of the GaugeField?

Please Login to Remove!

hi
can we change the color of the GaugeField? I have tried overriding the paint method...but it is not working.Hereis the code i am using.
The Q is can we change the color of the progress bar on the GaugeField...if yes what am i doing wrong??

Code:
_gaugeField = new GaugeField("",0, RuleFunctions._length, ResponderId._s_count,GaugeField.USE_ALL_WIDTH|GaugeField.PERCENT)                                         {
                                        public void paint(Graphics g) {
                                            g.setBackgroundColor(Color.GRAY);
                                            g.clear();
                                            super.paint(g);
                                        }
                                    };
__________________
Thanks
Meenal
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

Tektronix. OTS9030. OTS 9030 5-slot Mainframe With 2.5 Gb/s Jitter Mod #TQ43
$5000.0
Tektronix. OTS9030. OTS 9030 5-slot Mainframe With 2.5 Gb/s Jitter Mod   #TQ43 pictureAgilent N6700B Low Profile MPS Mainframe rackmount kit NEW N6700B-908
$109.99
Agilent N6700B Low Profile MPS Mainframe rackmount kit NEW N6700B-908 pictureMKS Instruments mainframe 260MF-2 type controllers 264A display
$199.99
MKS Instruments mainframe 260MF-2 type controllers 264A display   pictureHP / Agilent 54120A Digitizing Oscilloscope Mainframe - 20GHz
$249.95
HP / Agilent 54120A Digitizing Oscilloscope Mainframe - 20GHz pictureTEKTRONIX MODEL TM503 3 COMPARTMENT POWER MODULE MAINFRAME GOOD/WORKING 3 SLOT
$30.0
TEKTRONIX MODEL TM503 3 COMPARTMENT POWER MODULE MAINFRAME GOOD/WORKING 3 SLOT picture






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