Skip to main content

List Rendering Issue

1 reply [Last post]
bardubitzki
Offline
Joined: 2003-11-02

Hi there,

if I'm correct the DefaultListRenderer is extending the Label component, but passing String objects in the format of phone numbers such as 1-666-333-4444 to the List object get rendered without the hyphens.

Why does that happen?

Thanks,
Stephan

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shai Almog

Hi Stephan,
the default character set for the bitmap fonts doesn't include - and
+. This was remedied in the newer version of the resource editor but
you need to generate the font again or use the charset attribute for
the font if using the ant task.

Thanks.

> Hi there,
>
> if I'm correct the DefaultListRenderer is extending the Label
> component, but passing String objects in the format of phone
> numbers such as 1-666-333-4444 to the List object get rendered
> without the hyphens.
>
> Why does that happen?
>
> Thanks,
> Stephan
> [Message sent by forum member 'bardubitzki' (bardubitzki)]
>
> http://forums.java.net/jive/thread.jspa?messageID=290210
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

Shai Almog
http://lwuit.blogspot.com/

[att1.html]