Creating the LWUIT MIDlet project

  1. Navigate to File > New > MIDlet Project in Nokia IDE for Java ME (Eclipse).

    The New MIDlet Project window is displayed.

  2. Type a Project name and click on Finish.

    The project is created and the Application Descriptor file is opened in the IDE.

    Note:

    The default SDK configuration is selected in the Configurations pane. You can change it by clicking on Device SDK Manager and selecting the required SDK configuration.

  3. Add the LWUIT for Nokia library package and configure it for LWUIT development:

    1. Navigate to Project > Properties.

      The Properties window is displayed.

    2. In the left pane, click on Java Build Path and select the Libraries tab.

    3. Click on Add external JARs and select the required LWUIT for Nokia JAR file.

      Note:

      There are a number of different versions of LWUIT JAR files to choose from. For more information on different JAR files options, see the readme.txt file in the LWUIT binary package.

      The selected LWUIT for Nokia library appears in the Libraries pane.

    4. Select the Order and Export tab and ensure that the required LWUIT for Nokia library package is selected. Click on OK.

      Your project is ready for LWUIT development.