# Vision Repaint after changing style

**URL:** <https://forum.inductiveautomation.com/t/vision-repaint-after-changing-style/33273>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [March 20, 2020, 2:16pm UTC](https://forum.inductiveautomation.com/t/vision-repaint-after-changing-style/33273 "2020-03-20T14:16:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apurdy](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@apurdy](https://forum.inductiveautomation.com/u/apurdy)\
**Post date:** [March 20, 2020, 2:16pm UTC](https://forum.inductiveautomation.com/t/vision-repaint-after-changing-style/33273/1 "2020-03-20T14:16:10Z")

</div>

I’m having an issue with Vision components updating when a style dataset is changed. I have made an interface to customize a style dataset that is linked throughout the project. I’ve noticed when I change the foreground or background property, sometimes the components (label, numeric and text input, buttons, etc.) retain some remnants of the old style. The new style gets applied, but there are weird images in the background of the components.

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

---

<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 20, 2020, 3:18pm UTC](https://forum.inductiveautomation.com/t/vision-repaint-after-changing-style/33273/2 "2020-03-20T15:18:50Z")

</div>

Are you using transparent colors? Java Swing is notoriously bad at rendering transparent colors.

---

<div class="post-metadata">

**Author:** ![apurdy](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@apurdy](https://forum.inductiveautomation.com/u/apurdy)\
**Post date:** [March 23, 2020, 4:58pm UTC](https://forum.inductiveautomation.com/t/vision-repaint-after-changing-style/33273/3 "2020-03-23T16:58:10Z")

</div>

Yes, we were using alpha values… Do you know if there is a way to force a repaint? Or any other way around it? I really want to use transparency…
