Java application with resizable and spinning pacman