Re: Using NSApplication.endSheet() in the Java API
Re: Using NSApplication.endSheet() in the Java API
- Subject: Re: Using NSApplication.endSheet() in the Java API
- From: Stefan Jung <email@hidden>
- Date: Sun, 3 Feb 2002 16:25:09 +0100
Send an orderOut message to your sheet.
Stefan
Am Samstag den, 2. Februar 2002, um 05:17, schrieb Jake MacMullin:
Hi,
I'm trying to create a sheet for a modal window in a document based
Java Cocoa App. I created a window in Interface Builder, added an
outlet to my MyDocument class and connected the window. So when I call
NSApplication.sharedApplication().beginSheet(...) it works fine and
displays the window I created in Interface Builder as a sheet. However,
I can't get the sheet to go away!!
The sheet has a "Close" button on it which I have linked to an action
in my MyDocument class that calls
NSApplication.sharedApplication().endSheet(mySheet) But nothing
happnes. I know that the action is being called, because It's writing
stuff to std.out
Any help at all would be appreciated,
Thanks,
Jake MacMullin
_______________________________________________
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.