O'Reilly logo

Java™ ME Game Programming, Second Edition by Ph.D. Martin J. Wells, Ph.D. John P. Flynt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Full Package

To complement the development activity involved in a single MIDlet, the next step is to create a MIDlet suite. As was discussed in Chapter 2, a MIDlet suite consists of two or more MIDlets. Toward this end, in this section, you create a second MIDlet, Hello2.

Hello, Again

Using the following code example, create a second MIDlet in a file named hello2. java. To implement the code for this file, you can type it or use the code in the Hello2.java file in the Chapter 4 folder. Place it in your projects/hello directory. Use the procedure you used before. If you create it yourself, name it hello2.java. This MIDlet makes use of the hello.java file, so for now the simplest approach to working with it is to place it in the same ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required