Please enable JavaScript to use CodeHS

Java Swing Mouse Events

In this tutorial, students will look at mouse events in Java Swing. The tutorial assumes some understanding of Java, including ArrayLists and basic Java Swing. Students will create circle objects and use both mouse move and mouse click events.

By David Burnham