Oh sorry. Back to my question, can you help me please, I need to write a custom item that implements a list behavior (MUST support text wrapping). I have succeeded in most parts of the custom item but for the text wrapping.
There is no component or class that provides what you need in MIDP. I also had to do something like that. For the text-wrapping part I wrote a function that takes a string and divides it into lines based on the width available.
What you need is Canvas.getWidth() to see what is the maximum width of the screen and then Font.getCharWidth() to find out how many chars can you have in one line. You should also check for whitespace to break on word boundary.