import javax.microedition.lcdui.*; class ScreenCanvas extends Canvas { private String[] numstr = { "1","2","3","4","5","6","7","8","9","0", }; private String[] typestr = { "Q","u","i","c","k"," ","b","r","o","w","n"," ","f","o","x",","," ", "j","u","m","p"," ","o","v","e","r"," ","t","h","e"," ", "l","a","z","y"," ","d","o","g","s","."," ", }; public void paint(Graphics g) { g.setColor(0); g.fillRect(0, 0, getWidth(), getHeight()); g.setColor(0x00ffffff); Font font = Font.getFont(Font.FACE_MONOSPACE, Font.STYLE_PLAIN, Font.SIZE_MEDIUM); int dWidth = font.charWidth(' '); int dHeight = font.getBaselinePosition(); int descent = font.getHeight() - dHeight; g.setFont(font); int maxrow = (getHeight() - descent) / dHeight; int maxcol = getWidth() / dWidth; int n=0; for (int x=0; x