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
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.


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

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() );
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

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.