Working with MIDP Projects

The following table shows how to work with Java ME MIDP in the NetBeans IDE and create mobile applications:
Number one
Create and configure project
  1. Create a project using the best template for your programming needs.
  2. Configure the project. You can add MIDlets, libraries, and other resource files, define push registry entries and API permissions, and create settings for obfuscation and security.
  3. Create additional configurations based on the devices you want to deploy the application to.
  4. Add code for specific configurations using preprocessor blocks.

Number two
Build project

  1. Choose Build > Build Main Project or right-click any project and choose Build Project.

Number three
Run project
  1. Choose Run > Run Main Project or right-click any project and choose Run Project.
  2. Use the Project properties if you want to deploy the project to another location on your system or to a remote server.

Number four
Debug project
  1. Set breakpoints or watches in your code.
  2. Choose Run > Debug Main Project or right-click any project and choose Debug Project. You can also attach a running process to the debugger.
  3. Step through the program execution.
  4. Choose Run > Finish Debugging Session when you are finished debugging.

Legal Notices