When NetBeans is running (with Java 1.6) and I restart/shutdown OS X Leopard 10.5.6, OS X cancels the restart/shutdown process and shows a dialog box
with this message "The application NetBeans canceled restart."
i've reproduce the problem but i suspect it's caused by netbeans taking too long to quit. because netbeans does quit
even though the message is displayed. i'm not sure there's much we can do about this
I think there should be a way to fix this. Other Java IDEs (IDEA and Eclipse) do not have this problem on OS X.
this occurs also to NetBeans Platform applications and is very user-unfriendly.
Same situation here with Netbeans 7.2 on OS X 10.8.1. It doesn't seem like the app is taking too long to quit, as I receive the message almost instantaneously. (Attached screenshot)
It even happens if there are no projects / files open at all. I suspect it's an issue with handling the close event itself.
Created attachment 123780 [details]
Error message screenshot
Interesting reference for this: