Fixed it. I forgot to add a critical line to the sublayout routine:
Code:
protected void sublayout( int width, int height ) {
int displayWidth = Display.getWidth(); // I would probably make these global
int displayHeight = Display.getHeight();
super.sublayout( displayWidth, displayHeight );
setExtent( displayWIdth, displayHeight );
}
Try that out. It should work.
Ahhhh new problem with nothing painting at all. I'll look into it.