• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using NSApplication.endSheet() in the Java API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Using NSApplication.endSheet() in the Java API (From: Jake MacMullin <email@hidden>)

  • Prev by Date: getting the size of a folder
  • Next by Date: Re: optimizing compilers
  • Previous by thread: Using NSApplication.endSheet() in the Java API
  • Next by thread: Re: Using NSApplication.endSheet() in the Java API
  • Index(es):
    • Date
    • Thread