Follow these steps to monitor network traffic:
In the Device Selector window, right-click on a device and choose Properties.
Check the Enable Network Monitor option. When you next run an application on the device, the network monitor opens.
You can also edit the device.properties file to set netmon.enabled to true. The properties file is located in the device instance directory, as described in /javame-sdk/3.0/work.
Start your application.
When the application makes any type of network connection, information about the connection is captured and displayed.
The top frame displays a list of messages. Click a message to display its details in the bottom frame.
In the Hex View, message bodies are shown as raw hexadecimal values with the equivalent text.
Note - You can examine messages that are still in the process of being sent. Incomplete messages are indicated by bold highlighting in the message tree.