## Chapter 1

## Introduction

The J2ME Wireless Toolkit provides an emulation environment for the development of MIDP applications. This document provides instructions for customizing the toolkit in two useful ways:

- Creating new emulator skins
- Creating obfuscator plug-ins

The remainder of this chapter briefly describes each of these customizations.

## 1.1 Creating New Emulator Skins

There are three ways to customize the emulators in the J2ME Wireless Toolkit:

1. Download third-party emulators and install them into the J2ME Wireless Toolkit. For details, see Section 4.7, “Using Third Party Emulators,” in the J2ME Wireless Toolkit User’s Guide.
2. Create a new emulator skin based on the J2ME Wireless Toolkit’s default emulator. This process is described in Chapter 2, “Skinning the Emulator.”
3. Customize the default emulator implementation. To do this you’ll want to license the J2ME Wireless Toolkit source code to customize the emulator implementation.

## 1.2 Creating Obfuscator Plug-Ins

An obfuscator is a tool that is used to reduce the size of an executable MIDlet suite. Smaller MIDlet suites mean lower download times, which in the current bandwidth-starved wireless world means less waiting, and possibly lower airtime charges, for users.

The J2ME Wireless Toolkit includes support for the ProGuard obfuscator (http://proguard.sourceforge.net/), but it includes a flexible architecture that allows for any type of obfuscator.

Chapter 3, “Creating an Obfuscator Plug-in,” provides the technical details.

| J2ME Wireless Toolkit Basic Customization Guide J2ME Wireless Toolkit 2.2

Copyright © 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to the license terms.