moved the event listeners to nic.dart.View.Swing.EventListeners