# Prolong Mouse Over Text Time

**URL:** <https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858>\
**Category:** General Discussion\
**Created:** [June 24, 2016, 8:38am UTC](https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858 "2016-06-24T08:38:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [June 24, 2016, 8:38am UTC](https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858/1 "2016-06-24T08:38:47Z")

</div>

We use “Mouse Over Text” Property in one of our projects which show “Tool Tip” for the clients regarding the component.

Our client finds it too quick for the Mouse Over Text to just pop up for 5 seconds and then disappear. Is there any way to make the Mouse Over Text stays longer?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 24, 2016, 12:38pm UTC](https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858/2 "2016-06-24T12:38:24Z")

</div>

I don’t think so. I’ve had similar needs before, especially in really complex windows. The solution I chose was to dedicate a corner of the screen for a label to display tooltips indefinitely, triggered by mouse enter, move, and exit. I put the code in templates to minimize the repetition. Anyways, works similar to the way browsers will show a URL destination in the corner of the screen when hovering over a link.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [June 24, 2016, 5:16pm UTC](https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858/3 "2016-06-24T17:16:36Z")

</div>

Yes, it is possible. See this code:`from javax.swing import ToolTipManager
tipManager = ToolTipManager.sharedInstance()
tipManager.setDismissDelay(15000)
`That sets all tool tips to display for 15 seconds as long as the mouse is hovered over a component.

Best,

---

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [July 5, 2016, 8:19am UTC](https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858/4 "2016-07-05T08:19:01Z")

</div>

Hi nmudge,

Thanks! Will try that out! 😃

@pturmel: thanks for the response and the alternative approach!

---

<div class="post-metadata">

**Author:** ![gilles.levesque](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@gilles.levesque](https://forum.inductiveautomation.com/u/gilles.levesque)\
**Post date:** [March 1, 2019, 9:28pm UTC](https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858/5 "2019-03-01T21:28:54Z")

</div>

Where do you put this script?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 1, 2019, 9:31pm UTC](https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858/6 "2019-03-01T21:31:21Z")

</div>

Put it in a client startup script so it only runs once, although it doesn’t _really_ matter.

---

<div class="post-metadata">

**Author:** ![alexm](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@alexm](https://forum.inductiveautomation.com/u/alexm)\
**Post date:** [September 27, 2019, 10:01am UTC](https://forum.inductiveautomation.com/t/prolong-mouse-over-text-time/11858/7 "2019-09-27T10:01:26Z")

</div>

Is there a way to configure the tooltip event inside a components view with the goal to to display tooltips everywhere this view is embedded(locationwise as well)? I’ve been assigning the title for a pop up as {/root.meta.name} but when I test it after I ve named the component on the embedded page it is used it only just shows “root” instead of the actual name I have changed it to. any ideas?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/60c58779ba5e3f336171d6b1677cecb580b5848e.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bef2b6061ed04d515fb9d5bc3100d2a873a96f82.png)

Any ideas?

Many Thanks
