Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Sheets in Cocoa Java

Sheets in Cocoa Java
Thread Tools
Forum Regular
Join Date: Jan 2001
Location: Boston, MA
Status: Offline
Reply With Quote
Jan 4, 2002, 07:50 PM
 
I'm having a problem displaying a simple sheet in my Cocoa Java application. All I want to do is display a sheet with a progress bar that animates while I do some file loading. I've been able to use NSApplication.beginSheet() just fine. The problem is that NSApplication.endSheet() doesn't remove the sheet! I haven't yet dived in and created modal window sessions as it seems like overkill for displaying a simple sheet. Does anyone have any hints in this area?

Thanks!
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 5, 2002, 12:05 PM
 
I think you need to tell the sheet to orderOut. (endSheet just ends the sheet's modal session so you can click on things again.)
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:28 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2