The CustomView object on Interface Builder's Views palette represents an instance of any custom subclass of NSView or of any Application Kit class that inherits from NSView. The CustomView object lets you specify the basic attributes of all view objects: their location in a window and their size.
As you did earlier with the controller object TempController, you must provide the name and superclass of your custom class. But now, instead of inheriting from java.lang.Object, your class inherits from an Application Kit class.
If a class in the display has a filled-in circle next to it, you can click the circle to reveal the subclasses of that class. The path you want to follow is this:
NSObject, NSResponder, NSView, NSControl, NSImageView.
There is no need to specify any outlets or actions for this class.
Currently, Interface Builder lists the Objective-C set of Yellow Box classes in its Classes display. This set does not map exactly to the Java set. The release notes for the Yellow Box Java APIs ( JavaAPI.html in /System/Documentation/Developer/YellowBox/ReleaseNotes ) describes which Objective-C Foundation and Application Kit classes and protocols were exposed as Java classes and interfaces, and which Java classes are new. For those Objective-C classes that were not exposed, it indicates the JDK counterparts that you can use instead.
Unlike custom controller classes, where you use the Classes>Instantiate command to make an instance, you make an instance of a custom view in Interface Builder by assigning the class to the CustomView object.
Notice how the title of the custom view object changes to "TempImageView."