Create a new MIDlet
You will now create a new MIDlet. This will be the client which the user will use to make queries of the servlet and display the data received from it.
- Choose the first item in Project Groups, labeled 'Composer Files'.
- In the IDE, choose MIDlet from the Create menu. This creates a new MIDlet in the current project. (You can also press the 'Create a MIDlet' button on the button bar. It is the fourth button with the cell phone on it.)
A new Icon appears in the 'Composer Files' group with a name similar to Untitled1.Midlet.- Right-click this icon and choose Rename from the pop-up list. (A Control-click will also bring up the pop-up list.)
- Replace the old name with 'Client.Midlet'. Click the mouse anywhere else in the right hand window to accept the change.
- Double click the new 'Client.Midlet' icon to open the MIDlet Composer.
| Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |