internal DisplayCanvas(QRCodeDecoderMIDletExample midlet) { this.midlet = midlet; addCommand(new Command("Camera", Command.BACK, 1)); setCommandListener(this); logFont = Font.getDefaultFont(); numRows = this.getHeight() / logFont.getHeight(); numCols = this.getWidth() / logFont.charWidth('_'); log = new System.String[numRows]; }