addInfo( "Canvas.isDoubleBuffered: ", "" + canvas.isDoubleBuffered() );
	public void collectInfos(MIDPSysInfoMIDlet midlet, Display display) {	       Canvas canvas = new Canvas() {            public void paint(Graphics g){            	// do nothing            }        };                boolean isColor = display.isColor();        int numColors = display.numColors();                        if ( ! isColor ){            addInfo( "Display type: ", "Grayscale");            addInfo( "Levels: ", Integer.toString(numColors) );        } else {        	addInfo( "Display type: ", "Color" );        	addInfo( "Colors: ", Integer.toString(numColors) );        }                addInfo( "Canvas width: ", Integer.toString(canvas.getWidth()) );        addInfo( "Canvas height: ", Integer.toString(canvas.getHeight()) );                try {        	//#if polish.useDefaultPackage        		String className = "NokiaFullCanvasTest";        	//#else        		//# String className = "com.grimo.me.product.midpsysinfo.NokiaFullCanvasTest";        	//#endif        	Class testClass = Class.forName( className );        	DynamicTest test = (DynamicTest) testClass.newInstance();        	test.addTestResults( this );        } catch (Exception e) {        	//#debug error        	System.out.println("Unable to load NokiaFullCanvasTest" + e);        } catch (Error e) {        	//#debug error        	System.out.println("Unable to load NokiaFullCanvasTest" + e);        }        try {        	//#if polish.useDefaultPackage        		String className = "Midp2FullCanvasTest";        	//#else        		//# String className = "com.grimo.me.product.midpsysinfo.Midp2FullCanvasTest";        	//#endif        	Class testClass = Class.forName( className );        	DynamicTest test = (DynamicTest) testClass.newInstance();        	test.addTestResults( this );        } catch (Exception e) {        	//#debug error        	System.out.println("Unable to load Midp2FullCanvasTest" + e);        } catch (Error e) {        	//#debug error        	System.out.println("Unable to load Midp2FullCanvasTest" + e);        }                Font font = Font.getDefaultFont();        addInfo("Default-Font-Height: ", "" + font.getHeight() );        font = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_SMALL );        addInfo("Small-Font-Height: ", "" + font.getHeight() );        font = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_MEDIUM );        addInfo("Medium-Font-Height: ", "" + font.getHeight() );        font = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_LARGE );        addInfo("Large-Font-Height: ", "" + font.getHeight() );        font = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_SMALL );        addInfo("Small-Font-Height (bold): ", "" + font.getHeight() );        font = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_MEDIUM );        addInfo("Medium-Font-Height (bold): ", "" + font.getHeight() );        font = Font.getFont( Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_LARGE );        addInfo("Large-Font-Height (bold): ", "" + font.getHeight() );	}