Importing example MIDlets

  1. Navigate to File > Open Project in NetBeans.

    The Open Project dialog box is displayed.

  2. Browse to set the folder, where example MIDlets are stored, for Look in. Select an example MIDlet and click on Open Project.

    The selected example MIDlet project is opened in the IDE.

  3. Right-click on the example MIDlet folder in the Projects tab and click on Properties.

    The example MIDlet Properties window is displayed.

  4. Navigate to Build > Libraries & Resources in the Category pane. Click on Add Jar/Zip and select the required LWUIT for Nokia JAR file.

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

  5. Ensure that the Package column is selected. Click on Platform in the Category pane.

    The Platform page is displayed.

  6. Select Mobile Media API, Nokia User Interface and Scalable 2D Vector Graphics API in the Optional Packages section and click on OK.

  7. Right-click on the example MIDlet folder in the Projects tab and click on Clean & Build.

    NetBeans builds the MIDlet.

  8. Right-click on the example MIDlet folder in the Projects tab and click on Run.

    The MIDlet is launched in the emulator.

    Note:

    To close the emulator, navigate to File > Exit.


Last updated 26 June 2013

Back to top

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×