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

1xKR558RR1 Planar EEPROM КР558РР1 USSR IC
$4.2
1xKR558RR1  Planar EEPROM КР558РР1 USSR IC pictureNew JHW2013 USB Programmer Support 24/25/93 EEPROM 25 Flash Bios Chip 12Mbps #
$17.66
New JHW2013 USB Programmer Support 24/25/93 EEPROM 25 Flash Bios Chip 12Mbps # pictureCH341A 24 25 Series EEPROM Flash BIOS USB Programmer with Software Driver HM
$4.39
CH341A 24 25 Series EEPROM Flash BIOS USB Programmer with Software Driver HM picture2pcs X2804AP-45 Encapsulation:DIP-24,x8 EEPROM
$7.88
2pcs X2804AP-45 Encapsulation:DIP-24,x8 EEPROM picture5 Atmel AT28C64B-20PU AT28C64B 28C64 Eeprom Memory IC AR
$26.0
5 Atmel AT28C64B-20PU AT28C64B 28C64 Eeprom Memory IC AR picture






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