Showing Java Button Events

The source code is DisplayEvents.java