Java Swing Prepare Purge