FileDocCategorySizeDatePackage
DisplayTestUtils.javaAPI DocphoneME MR2 API (J2ME)1541Wed May 02 18:00:22 BST 2007javax.microedition.lcdui

DisplayTestUtils

public class DisplayTestUtils extends Object

Fields Summary
Constructors Summary
Methods Summary
public static DisplaycreateDisplay()
Creates a new display and puts it in the foreground

  
        Display display = new Display((MIDlet)null);
	Display.displayManagerImpl.uRequestForegroundChange(display.accessor);
	sleep(2000);
	return display;
    
public static voidsleep(int time)

	try {
	    Thread.sleep(time);
	} catch (Exception e) {}