This function:
PHP Code:
public int drawText(String text,
int x,
int y,
int flags,
int width)
In the graphics class should do what you're after. Width specifies the max width of the draw space (in your case Display.getWidth()) and flags is DrawStyle.ELLIPSES