Re: Java-Cocoa drawing -- help!
Re: Java-Cocoa drawing -- help!
- Subject: Re: Java-Cocoa drawing -- help!
- From: Shawn Erickson <email@hidden>
- Date: Mon, 12 Apr 2004 08:34:03 -0700
On Apr 12, 2004, at 6:57 AM, James Burton wrote:
In IB, I have created a window with a NSview, and have called it
myview:
public NSView myview;
Now, how do I draw a simple rectangle using NSRect to this NSview?
I hoped that something like...
nr = new NSrect(0,0,40,40);
myview.drawRect(nr);
...would do it, but no. It compiles without error or warning -- yet
does nothing. What is the proper way to draw to a NSView?
Please don't cross post (3 different lists in this case) because it
results in split threads and folks on one list may take time, often
valuable time, to answer a question that someone via another list has
already answered. Let your post live for a day or two on a list first
before firing off another one.
-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.