New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Fullscreen using NSApplication setPresentationOptions.

Post Reply New Thread Subscribe

Thread Tools

Member Since: Apr 29, 2013
Posts: 2
anandcta123 is on a distinguished road

anandcta123 is offline

I am using NSApplication setPresentationOptions with input NSApplicationPresentationHideDock and NSApplicationPresentationHideMenuBar to make fullscreen. Then NSApplicationPresentationDefault to restore to normal window. It works fine. But when I do frequently toggling between normal and fullscreen mode. The application will crash with EXC_BAD_ACCESS at either setPresentationOptions or NSApplicationMain. I am not getting fixing this strange issue. Please suggest me where I am doing wrong.

Note: My window is Java JFrame window. I am calling these Cocoa APIs from Java through JNI.

Thanks and Regards,
QUOTE Thanks

Post Reply New Thread Subscribe

« Applescript Function Key | c-programming »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting 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 Off
Forum Jump

Similar Threads
Thread Starter
Last Post
10.7.4 Cannot Login to Main Admin User - But Can Get into Guest Account - What to do? cojobt OS X - Operating System 2 01-11-2013 10:05 AM
Problem with Lion's fullscreen feature and dual displays JayDam OS X - Operating System 11 07-31-2011 12:56 PM
External monitor going fullscreen Nerlex Switcher Hangout 3 07-06-2011 01:46 PM
GUIDE: How To Achieve Fullscreen Quicktime Without Quicktime Pro Discerptor OS X - Apps and Games 28 08-26-2007 08:07 AM

All times are GMT -4. The time now is 06:20 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?