# Change cursor in confirmation box

**URL:** <https://forum.inductiveautomation.com/t/change-cursor-in-confirmation-box/9556>\
**Category:** Ignition\
**Created:** [January 16, 2015, 4:41pm UTC](https://forum.inductiveautomation.com/t/change-cursor-in-confirmation-box/9556 "2015-01-16T16:41:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blefe001](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@Blefe001](https://forum.inductiveautomation.com/u/Blefe001)\
**Post date:** [January 16, 2015, 4:41pm UTC](https://forum.inductiveautomation.com/t/change-cursor-in-confirmation-box/9556/1 "2015-01-16T16:41:05Z")

</div>

Is there a way to change the cursor in the confirmation box to something other than the default? e.g.)The hand

I have the confirmation box appear from inside a script when a button is pushed so is there a way to edit the script to change this?

Script below is on an actionPerformed from a button

#Go to IMCS Demo Project  
if system.gui.confirm(“Go to IMCS Demo?”):  
system.util.retarget(“IMCS”)

---

<div class="post-metadata">

**Author:** ![Tim](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim/32/3361_2.png) [@Tim](https://forum.inductiveautomation.com/u/Tim)\
**Post date:** [January 16, 2015, 5:28pm UTC](https://forum.inductiveautomation.com/t/change-cursor-in-confirmation-box/9556/2 "2015-01-16T17:28:20Z")

</div>

I don’t know whether the cursor within the confirmation box can be changed, but just about anywhere else it can be changed via this method

`from java.awt import Cursor
cursor = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)
event.source.cursor = cursor`

---

<div class="post-metadata">

**Author:** ![Blefe001](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@Blefe001](https://forum.inductiveautomation.com/u/Blefe001)\
**Post date:** [January 16, 2015, 5:33pm UTC](https://forum.inductiveautomation.com/t/change-cursor-in-confirmation-box/9556/3 "2015-01-16T17:33:02Z")

</div>

Thanks Tim.

Now I just need to know what to replace

```auto
event.source.cursor
```

with so that it is accessing the confirmation box components.
