BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-11-2008, 11:01 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2008
Location: Buenos aires, Argentina
Model: 8520
PIN: N/A
Carrier: Claro
Posts: 75
Post Thanks: 0
Thanked 4 Times in 4 Posts
Default StringItem

Please Login to Remove!

Hi, i have a StringItem that i need to set the font (Bold) with setFont, but the parameter is a Font object (javax.microedition.lcdui.Font) and i dont know how can i get a bold Font object(javax.microedition.lcdui.Font) to use it as parameter.

thanks
__________________
Martin

Blackberry Instructor
Offline  
Old 11-17-2008, 10:49 PM   #2 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you able to do something like this?

javax.microedition.lcdui.Font default = javax.microedition.lcdui.Font.getDefaultFont();
javax.microedition.lcdui.Font.getFont( default.getFace(), javax.microedition.lcdui.Font.STYLE_BOLD, default.getSize() );
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 MSA altair 4X multi gas detector Monitor Meter O2,H2S,CO,LEL CALIBRATED
$549.99
NEW MSA altair 4X multi gas detector Monitor Meter O2,H2S,CO,LEL CALIBRATED  pictureLot of 2 MSA Multigas Monitor ALTAIR 5X IR
$499.0
Lot of 2 MSA Multigas Monitor ALTAIR 5X IR pictureMSA Altair 4X, Good Condition, Calibrated, New Sensors
$369.99
MSA Altair 4X, Good Condition, Calibrated, New Sensors pictureMSA Power Supply Charger for Altair 4x and 5x Multi-Gas Detectors
$25.0
MSA Power Supply Charger for Altair 4x and 5x Multi-Gas Detectors pictureMSA GALAXY GX2 # 10128644 AUATOMATED TEST STATION FOR ALTAIR PRO,ALTAIR 2X
$795.0
MSA GALAXY GX2 # 10128644 AUATOMATED TEST STATION FOR ALTAIR PRO,ALTAIR 2X picture






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