Don't register the Display shutdown hook in the static initializer. Register it at create() and remove it at destroy(). This avoids unnecessary conflicts when only using AWT stuff
Authored by: elias_naur 2006-10-26
Parent: [r2607]
Child: [r2609]