I know my java pretty well, but when it come to cocoa I do not understand anything whatsoever. So far I've managed to make a custom NSView subclass that is the shape of the window I want. I was wondering how I could make the window use that NSView as it's shape/color. I tried to check out the cocoa examples at the apple developer site about this, but I dont get Cocoa at all

Could someone please tell me the names of the methods or funtions of an NSWindow I would need to call upon to make this happen in lamens terms?