Matthias Scholz - 2013-05-25

Don't know how Windows is "killing" the Java VM during system shutdown. The only possibility to avoid lost of data is Runtime.addShutdownHook(). Here we can add a Thread, which ask's the user if there are unsaved layers. This Thread is startet if the Java VM is shutting down.