equal
deleted
inserted
replaced
723 |
723 |
724 public void updateCursorImmediately() { |
724 public void updateCursorImmediately() { |
725 XGlobalCursorManager.getCursorManager().updateCursorImmediately(); |
725 XGlobalCursorManager.getCursorManager().updateCursorImmediately(); |
726 } |
726 } |
727 |
727 |
728 public void pSetCursor(Cursor cursor) { |
728 public final void pSetCursor(Cursor cursor) { |
|
729 this.pSetCursor(cursor, true); |
|
730 } |
|
731 |
|
732 /* |
|
733 * The method changes the cursor. |
|
734 * @param cursor - a new cursor to change to. |
|
735 * @param ignoreSubComponents - if {@code true} is passed then |
|
736 * the new cursor will be installed on window. |
|
737 * if {@code false} is passed then |
|
738 * subsequent components will try to handle |
|
739 * this request and install their cursor. |
|
740 */ |
|
741 //ignoreSubComponents not used here |
|
742 public void pSetCursor(Cursor cursor, boolean ignoreSubComponents) { |
729 XToolkit.awtLock(); |
743 XToolkit.awtLock(); |
730 try { |
744 try { |
731 long xcursor = XGlobalCursorManager.getCursor(cursor); |
745 long xcursor = XGlobalCursorManager.getCursor(cursor); |
732 |
746 |
733 XSetWindowAttributes xwa = new XSetWindowAttributes(); |
747 XSetWindowAttributes xwa = new XSetWindowAttributes(); |