I have a window (derived from JFrame) and I want to disable the close button during certain operations which are not interruptible. I know I can make the button not do anyt
For those coming to this later than 2008, there has been a change making it possible to do this. See this link
Second response from the bottom shows how to do it by name.