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(); } } }
public void mouseEnter(MouseEvent e) { if (!TuxGuitar.instance().isLocked() && !ActionLock.isLocked()) { redrawLocked(); } }
public void mouseExit(MouseEvent e) { if (!TuxGuitar.instance().isLocked() && !ActionLock.isLocked()) { updateSelection(-1); } }