Let's face up to the fact that Netbeans is prone to hang the dispatcher thread, issues causing this are resolved, but
expansion of the UI is always likely to introduce new ones. Naturally, whatever the specific cause, this happens when
you've got the maximum amount of unsaved text.
How about adding a back door way to save everything and close down when the IDE has frozen? It should be relatively easy
to expose an MBean to do this. This could have a "save all and exit" and a "exit without save" button, and maybe a list
of unsaved files.
Then, when the IDE hangs up we can run jconsole and save ourselves a lot of frustration.