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.
Cocoa lets you create custom views that draw their own content and respond to user actions. To assist you in this, Cocoa provides classes and functions for drawing, for example, the NSBezierPath class.
Last updated: 2006-10-03