Using scala.swing event handling instead of java.swing events.