No, I'm afraid you need to write each line to the right place. You could do something like:
Code:
String [] asHelpText = {
"Controls", "2 = up", "and so on"
};
// g is the Graphics context passed to paint()
int nFontHeight = g.getFont ().getHeight ();
for (int i = 0; i < asHelpText.length; i ++) {
g.drawString (asHelpText [i], 0, i * nFontHeight, Graphics.TOP | Graphics.LEFT);
}
This assumes that each line is short enough to fit in the screen, and that there are few enough lines to fit without scrolling. If you only need to support one phone and the text will fit, you're OK. Otherwise, you'll need to write code to handle word wrapping to the screen width, and scrolling if you run out of screen.
One alternative is to use a Form, and append StringItem objects to it. Most phones will handle word wrapping and scrolling automatically this way.
Graham.