# \[IGN-4811\]system.gui.messageBox location

**URL:** <https://forum.inductiveautomation.com/t/ign-4811-system-gui-messagebox-location/18562>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [June 21, 2018, 2:36pm UTC](https://forum.inductiveautomation.com/t/ign-4811-system-gui-messagebox-location/18562 "2018-06-21T14:36:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![aladdinwow](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@aladdinwow](https://forum.inductiveautomation.com/u/aladdinwow)\
**Post date:** [June 21, 2018, 2:36pm UTC](https://forum.inductiveautomation.com/t/ign-4811-system-gui-messagebox-location/18562/1 "2018-06-21T14:36:42Z")

</div>

Hello there,

I have a small question regarding the messageBox or any other type of box that is in the system.gui category.

If you were to have multiple monitors, and then switch the client to a different monitor, the message box will not appear in the monitor that the client is currently in.

I was able to get around this problem by creating a custom JOptionPane and passing in the the rootContainer as the frame for it.

I was wondering, is there any sort of “hidden” option that can overwrite the built-in messagebox location? Otherwise, this means I would have to create custom input boxes as well because they undergo the same problem with multiple monitors since my project utilizes input boxes as well.

Thank you.

---

_[View the full topic](https://forum.inductiveautomation.com/t/ign-4811-system-gui-messagebox-location/18562)._
