The Java Thread.suspend() method may cause Java application programs to hang. It is strongly recommended that you do not use the suspend() and resume() methods.
Hangs may occur because a thread holding a lock is suspended and the thread responsible for resuming this thread needs this lock. This is a general problem with threaded programming because of improper usage of these primitives, which leads to application deadlocks.
Workaround: Use other appropriate synchronization methods, such as wait() and notify().