# Create A New Midlet

In order to create a new MIDlet, you simply create a new class that derives from the class javax.microedition.midlet.MIDlet. If you select Other from the New button, an option is provided to make this easy for you:

Otherwise, you can use the standard New Class operation, and manually specify javax.microedition.midlet.MIDlet. as the base class type.

On the next pane, you can specify the details of the new MIDlet class:

On this page, select the appropriate information for the midlet to be generated. With the exception of the Add to Application Descriptor selection, all other information is the same as the standard class creation parameters.

The Add to Application Descriptor item only appears when you use the New J2ME Midlet method of creating the class described above. When this parameter is selected, the newly created midlet will automatically be added to the project's application descriptor with default information. The midlet information may be further refined by accessing the JAD Editor.

If you do not select Add to Application Descriptor, or if you create the MIDlet class manually, you must use the JAD Editor to enter the details for the particular MIDlet so that it is properly registered as part of the MIDlet suite. If you do not do this, J2ME devices will not be able to access the MIDlet.