Be very careful when performing animation using multi-threading. Make sure GUI updates are defined thread-safe in the API, or dispatch them to the EDT using SwingUtilities. Alternatively, use a Swing...