I have a NSWindow and a View inside it. I close the window using window.close(also tried orderout). I then open the window by calling MakeKeyAndOrderFront on the window. When I do this, the window never shows up. Even if I go to menu and click on Window -> Bring all to front, I cannot see the window. But开发者_如何学JAVA in the dock the application is still running. In the controller associated with the View, I have added logging statements. All the statements are coming up indicating that the code is getting executed but the UI is not there.
EDIT -
The release when closed option is not checked. Also when I am closing the window, I am exiting full screen mode using ExitFullScreenModeWithOptions.
精彩评论