52535455565758596061
releaseMouse(x, y, true); } @SuppressWarnings("unused") private void gainFocus() { final Canvas cw = getCanvasWrapper(); if (!cw.hasFocus()) { cw.setFocused(true); } }
111112113114115116117118119120
moveMouse(x, y); } @SuppressWarnings("unused") private void loseFocus() { final Canvas cw = getCanvasWrapper(); if (cw.hasFocus()) { cw.setFocused(false); } }