Changes

Jump to: navigation, search

Lab BlackBerry Example

44 bytes added, 21:36, 26 February 2011
no edit summary
In the main method create a new instance of the application and make the currently running thread the application's event dispatch thread.
<source lang="java">
 
 
import net.rim.device.api.ui.UiApplication;
 
import net.rim.device.api.ui.component.ButtonField;
public class MyApp extends UiApplication {
private MyScreen _screen;
private ButtonField _nextScreenButton;
private MyScreen _screen; private ButtonField _nextScreenButton;  public static void main(String[] args) {  MyApp theApp = new MyApp();  theApp.enterEventDispatcher(); 
}
 
</source>

Navigation menu