Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: The Java API for Cocoa is deprecated in Mac OS X version 10.4 and later. You should use the Objective-C API instead. For a tutorial on using Cocoa with Objective-C, see Cocoa Application Tutorial.

Generate the Source Files

To generate the source files for the Currency Converter application:

  1. In the Classes pane in the nib file window, select the ConverterController class.

  2. Choose Classes > Create Files for ConverterController.

  3. Make sure ConverterController.java in “Create files” and Currency Converter in “Insert into targets” are selected.

    If Currency Converter in “Insert into targets” is not selected, you may not have saved the nib file earlier. Save the file and go to step 2.


    image: ../art/files_creating.gif
  4. Click Choose.

  5. Repeat steps 1 through 4 for the Converter class.

  6. Save the nib file.

Quit Interface Builder.



< Previous PageNext Page > Hide TOC


Last updated: 2006-10-03




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice