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.
When Interface Builder adds the .java files to the Currency Converter project, it puts them into the main Groups & Files list. Although this location is perfectly acceptable—the build system doesn’t care where the files are—they are classes of your project and should be organized accordingly. To put these files in the Classes subgroup:
In the project window in Xcode, select the two files in the project group in the Groups & Files list.
Drag the files to the Classes group.

Last updated: 2006-10-03