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 HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$32.79
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 picture LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER
$1300.0
 LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER pictureDell PowerEdge 1950 E1624 Server (9423)
$24.95
Dell PowerEdge 1950 E1624 Server (9423) pictureIntel, Xeon E3-1220, 3103C497 Quad-Core Processor T95033
$75.0
Intel, Xeon E3-1220, 3103C497 Quad-Core Processor T95033  picturePolycom DMA 7000 E16S E16S001 Dell PowerEdge R620 2x GHz Xeon E5-2620 16 GB RAM
$2099.99
Polycom DMA 7000 E16S E16S001 Dell PowerEdge R620 2x GHz Xeon E5-2620 16 GB RAM picture






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