Swing MouseListeners and KeyListeners removed and Adapter classes were
added instead.