To run a sample project, go to the Start Page tab and single‐click a sample project name. The project opens in the Project window and starts running in the emulator.
Note - If you can’t see the Project window choose Window > Projects. To see console output, select Window > Output > Output.
Follow these steps to run a your own projects.
Select File > Open Project, and browse to select a project.
The project is added to the Projects window.
To run a project, right-click the project and select Run from the context menu.
To run the main project (which is shown in bold text in the Projects window), click the green Run button. To set a project as main, right‐click the project name and select Set as Main Project.
To run the project on a different device, choose the device in the Device Selector window. Right-click on a device and select Run Project from the context menu. Pull right to see a listing of open projects. Projects that cannot run on the current device are grayed out.
The device emulator window opens with the demo application running.
As the sample project runs, you might need to press one of the soft keys below the screen on the left or right side.
You use soft keys to install or launch an application, open a menu, exit, or perform some other action. Some demos include these instructions in the application.
For instructions on running samples, see MIDP/CLDC Sample Projects.
When you are finished viewing the application, go to the emulator’s Application menu and select Exit to close the emulator and stop the execution of the project’s build script.
Note - Once the emulator is launched, it is an independent process. Pressing the red stop button in the Output window terminates the build script, but it does not close the emulator. Likewise, closing the SDK user interface does not affect the emulator. In the emulator, select Application > Exit to ensure that both the emulator process and the project build process close.