Question

There's a method setFont(int listItem, Font font) in List class which sets some font to the list item. So I have to run through the list items and set fonts in a cycle. Is there any method to set one font to the whole list?

Was it helpful?

Solution

Is there any method to set one font to the whole list?

There is no such method in MIDP 2.

Full list of available methods is provided in lcdui List API documentation - one can easily find out that setFont(int, Font) is the only one way to do that

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top