# UIManager Being Ignored?

**URL:** <https://forum.inductiveautomation.com/t/uimanager-being-ignored/31350>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [January 16, 2020, 6:48pm UTC](https://forum.inductiveautomation.com/t/uimanager-being-ignored/31350 "2020-01-16T18:48:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [January 16, 2020, 6:48pm UTC](https://forum.inductiveautomation.com/t/uimanager-being-ignored/31350/1 "2020-01-16T18:48:07Z")

</div>

With Ignition V8 is UIManager still available to change the style of components?

I’m trying to get the button disabled text color to change and it just doesn’t seem to work… and I’m wondering if I’m doing something wrong. This is the code I’m using:

```auto
from javax.swing import UIManager
from java.awt import Color
UIManager.put("Label.disabledForeground", Color.red)
UIManager.put("Button.disabledForeground", Color.red)

```

I’m trying to turn it red so I know it’s working. However when the button is disabled the text color is still the light gray.

Any ideas?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 16, 2020, 6:50pm UTC](https://forum.inductiveautomation.com/t/uimanager-being-ignored/31350/2 "2020-01-16T18:50:12Z")

</div>

Try these: [http://www.javasoft.de/synthetica/customize/](http://www.javasoft.de/synthetica/customize/)

The Look and Feel is now a derivative of Synthetica. If a property is not listed in there I’m not sure if there’s a way to change it via UIManager any more.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [January 16, 2020, 6:51pm UTC](https://forum.inductiveautomation.com/t/uimanager-being-ignored/31350/3 "2020-01-16T18:51:57Z")

</div>

That’s what I was looking for I just couldn’t put it into words.

Thanks Kevin. I’ll poke through there and see what I can do.

---

<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:** [January 16, 2020, 6:53pm UTC](https://forum.inductiveautomation.com/t/uimanager-being-ignored/31350/4 "2020-01-16T18:53:47Z")

</div>

Be aware that Synthetica does some optimizations for painting, so some properties simply aren’t available to be changed via the UIManager.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [January 16, 2020, 7:09pm UTC](https://forum.inductiveautomation.com/t/uimanager-being-ignored/31350/5 "2020-01-16T19:09:57Z")

</div>

Yeah… I’m not seeing disabled text colors etc… so it may not be possible. Which can be a problem because the disabled color is close to an object color we are using throughout the project. So when the object becomes disabled then the text on the object is very difficult to view.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [April 27, 2022, 7:54pm UTC](https://forum.inductiveautomation.com/t/uimanager-being-ignored/31350/6 "2022-04-27T19:54:32Z")

</div>

Were you able to find a solution to this? Setting up security and the disabled text color for unauthorized users is too light. Changing the background color is enough for me, I’d like the text color to remain black.
