Creating a Custom View Class


Defining the Custom View Subclass

Connecting the View Object

Implementing the Custom View

 

Generate the .java File

Implement the Constructor

Implement the Image-Setting Method

Call the Image-Setting Method

Completing the Application

Creating a Subclass of NSView