You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KSwing provides wrappers for most Swing listeners.
Sometimes, you only wnat to implement one function of a listener.
Normally, you'd have to extend the adapter for that class, which can be verbose:
addKeyListener(object:KeyAdapter() {
overridefunkeyPressed(event:KeyEvent) {
// do something crazy
}
})