/** finalise, time to close the progress bar */ protected void finalize() throws Throwable { super.finalize(); _tmpFrame.dispose(); _tmpFrame = null; if (_pm != null) { _pm.close(); _pm = null; } }