Hi, I try to fix this problem: http://sourceforge.net/tracker/?func=detail&aid=3613871&group_id=118054&atid=679906 I've seen, that OJ closes without any warning if you kill the Java VM with the taskmanager or on a Linux shell with the kill command too. This seems to be the same as during OS shutdown. But we can catch this with a Runtime.addShutdownHook(). This is simply a Thead. The Thread is executed, during Java VM shutdown. I've made some tests with a ShutdownHook in the WorkbenchFrame. If i call the closeApplication() method (it's the same as you closing the WorkbenchFrame window), then you get only a JOptionPane with the possibility to exit OJ or to cancel. The problem for now is, that we do not have a possibillity to stop the Java VM shutdown. This dialog makes no sense here. My question is, do we have a "End"-dialog which can save unsafed data automatically? Or what should we do with unsaved data in this situation? I mean, that we must do fast some things, because the OS do not wait infinity during shutdown. Problematic are especially new layers, without a datastore (never saved before). Any "old" or previous saved layers we can save automatically. Is this right in every situation? I mean, that the user should make a decision. But a fast....
Please tell me your opinion. Matthias -- _ __ ___ _________________________________ ___ __ _ www.openjump.de _ __ ___ _________________________________ ___ __ _ ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel