This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting Font in J2ME

 
Man Ip
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the definition of Font class in J2ME, Font cannot be created. Insteads, it is provided by the system based on requested font attributes.
How to set font attributes in J2ME? I know STYLE_BOLD, SIZE_MEDIUM, FACE_MONOSPACE, ...... but how to use them, as there is no Font constructor in J2ME? Is there a method similar to image --- Image i = Image.CreateImage(...); ?
Please reply me with example. Thanks a lot.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic