Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem Using Bitmap Font In Text Area LWUIT

 
kevin allen
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have managed to create and use a bitmap font using the LWUIT resource editor.
It works fine with a label, but whenever I try and use it with a textarea, nothing happens,
the textarea maintains its default font.

The bitmap font is slightly large at 38px but I have tried smaller fonts without success...

Here is my code...



Does anyone know why the textarea will not accept the new font?

I have tried textarea.repaint(), textArea.refreshTheme() all with no luck.

thanks for you time,

Kevin
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!