Now that we understand the basics of event handling, we're ready to move on to somewhat more advanced J2ME development. In this section, we will develop the Scribble application. We will not describe the code line by line but, instead, describe important lines, as well as the purpose of each method. You can access the complete code listing from Resources.
The Scribble application is a self-contained application that demonstrates the use of Sun's KJava API for the Palm OS. Scribble allows you to draw freehand pictures on the screen, adding regular text if desired.