Two Laptop Bag*
The moose likes Java Micro Edition and the fly likes Problem Using Bitmap Font In Text Area LWUIT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Problem Using Bitmap Font In Text Area LWUIT" Watch "Problem Using Bitmap Font In Text Area LWUIT" New topic
Author

Problem Using Bitmap Font In Text Area LWUIT

kevin allen
Greenhorn

Joined: Oct 17, 2009
Posts: 10
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
 
Consider Paul's rocket mass heater.
 
subject: Problem Using Bitmap Font In Text Area LWUIT
 
Similar Threads
Problem in LWUIT Theme
Event handling
Info dialog in lwuit
table using lwuit in j2me
LWUIT: Custom List Renderer with checkboxes to select multiple items