![](/images/new-backgrounds/1314580/31458037x1.webp)
FIGURE 4 File locations in the console
2.2The Simple Development Cycle
The simple development cycle looks like this:
Edit source code → Build → Run
1.Edit source code. In this step, you create Java source files and resource files that will be used by your application.
2.Build. The J2ME Wireless Toolkit compiles and preverifies your Java source files.
3.Run. The compiled Java class files are run on the emulator.
If an error occurs when the toolkit attempts to compile your source files, go back and edit them again. If you find a bug when you are testing your application in the emulator, edit the source files to fix the bug.
Now that you understand the simple development cycle at a high level, the rest of this section illustrates how you can accomplish each step using the J2ME Wireless Toolkit.
2.2.1Edit Source Code
Editing source code is the only step in which the J2ME Wireless Toolkit is no help at all. You will need to use the text editor of your choice to create and edit source code files.
Chapter 2 Developing MIDlet Suites 7