Пример #1
0
 void enableFocusEvents() {
   if (!focusEvents) {
     canvas.addFocusListener(this);
     focusEvents = true;
   }
 }