The J2ME Wireless Toolkit is a collection of tools and device emulators that
support the development of Java applications that run on devices compliant
with the
Mobile
Device Information
Profile (MIDP). Such devices include cellular phones, two-way pagers, and personal
digital assistants (PDAs). Version 2.2 of the Toolkit is installed as the default
emulator with the Mobility Pack for NetBeans.
The Wireless Toolkit supports testing with several key features:
The Wireless Toolkit can simulate several devices that take on a variety
of form factors: cell phones, pagers, and palmtops. This helps you learn what
type of experience users can expect and verify the portability of your application
across different devices.
The Wireless Toolkit supports tracing and debugging with run-time logging
of various events, such as garbage collection, class loading, method calls,
and exceptions. You can also perform source-level debugging with an IDE while
an application runs in the Wireless Toolkit.
The Wireless Toolkit enables you to collect information that you can examine
to optimize the performance of your MIDP applications. Performance tuning
utilities include profiling methods and monitoring memory usage and network
traffic. Also included is the ability to adjust the speed settings for graphic
rendering and refreshing as well as VM speed emulation and network throughput.
To use the J2ME Wireless Toolkit utilities:
Choose File > <active
project
name> properties.
In the Properties page, choose Platform from the left pane.
In the Platform page, click the Manage Emulators button.
The Java Platform Manager opens.
Select an installed J2ME Wireless Toolkit emulator from the menu in the
left pane.
Select Tools & Extensions tab from the right pane.
Click the Open Preferences or Open Utilities buttons to open the platform
tools.
Click the Use WTK Extensions checkbox to use the Profiler and the Memory
and Network monitors.
Run the application.
For more information, see articles about the NetBeans IDE support for the
J2ME Wireless Toolkit at
.