Developing Java Applications: A Tutorial | Building a Simple Application

Building a Simple Application

This part of the tutorial guides you through the creation of a very simple Yellow Box application and in the process teaches you the steps essential to building a Yellow Box application written in Java. By the end of this tutorial you will have created an application called Temperature Converter that looks like this:

This application does exactly what its name suggests, converting Celsius values to Fahrenheit, and vice versa. The user just types a value in one of the text fields and presses the Return key. The converted value is shown in the other field.

Although this application is simple, the experience of putting it together will clarify a few central techniques and paradigms in Yellow Box Java development, among them:

Important
In future releases you won't have to prepare the generated source files for Java, as you now must do in the current release. Interface Builder will automatically create proper Java files from the definitions of subclasses. Thus some of the details in this tutorial are applicable only to the development environment in the current release.


Previous | Next
© 1998 Apple Computer, Inc.