Musings about Java and Swing

Monthly Archives: January 2016

Moving Eyes

This is a short example of a Java Swing GUI with drawing and simple animation. The eyeballs in the GUI follow the mouse cursor as you move the cursor in the drawing area of the GUI.