Пример #1
0
 public void mouseUp(MouseEvent e) {
   getEditor().setFocus();
   if (e.button == 1) {
     if (!TuxGuitar.instance().isLocked() && !ActionLock.isLocked()) {
       ActionLock.lock();
       hit(e.x, e.y);
       ActionLock.unlock();
     }
   }
 }
Пример #2
0
 public void mouseEnter(MouseEvent e) {
   if (!TuxGuitar.instance().isLocked() && !ActionLock.isLocked()) {
     redrawLocked();
   }
 }
Пример #3
0
 public void mouseExit(MouseEvent e) {
   if (!TuxGuitar.instance().isLocked() && !ActionLock.isLocked()) {
     updateSelection(-1);
   }
 }