# Vision Component - removing default appearance properties?

**URL:** <https://forum.inductiveautomation.com/t/vision-component-removing-default-appearance-properties/94107>\
**Category:** Module Development\
**Tags:** vision\
**Created:** [August 2, 2024, 10:48am UTC](https://forum.inductiveautomation.com/t/vision-component-removing-default-appearance-properties/94107 "2024-08-02T10:48:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MG3](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mg3/32/84125_2.png) [@MG3](https://forum.inductiveautomation.com/u/MG3)\
**Post date:** [August 2, 2024, 10:48am UTC](https://forum.inductiveautomation.com/t/vision-component-removing-default-appearance-properties/94107/1 "2024-08-02T10:48:03Z")

</div>

Hi all,

Just a quick one when I create new vision components, the default properties you would expect appear in the appearance show up (I am referring to the Font, Foreground Color and Background Color properties).

I am wondering if there is anyway to remove these properties as I don't use them, the components background is transparent, foreground colour is automatically determined based on variables and there is no text on the component.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/9/a96a7eb16d34166e788b426fdda27a62cf75df6b.png)

So firstly, if anyone can advise on how to remove them it would be appreciated.

Secondly, (for future components I create that may use these properties) how are they accessed.

Thanks!

---

<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:** [August 2, 2024, 11:29am UTC](https://forum.inductiveautomation.com/t/vision-component-removing-default-appearance-properties/94107/2 "2024-08-02T11:29:42Z")

</div>

They are fundamental java Swing properties. You might be able to delete them from the bean you created for your component.

---

<div class="post-metadata">

**Author:** ![MG3](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mg3/32/84125_2.png) [@MG3](https://forum.inductiveautomation.com/u/MG3)\
**Post date:** [August 2, 2024, 1:00pm UTC](https://forum.inductiveautomation.com/t/vision-component-removing-default-appearance-properties/94107/3 "2024-08-02T13:00:03Z")

</div>

Any idea how? Or can they be at least hidden from designer? At the moment I am just providing properties that aren't used and I don't want to confuse engineers.

---

<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:** [August 2, 2024, 1:39pm UTC](https://forum.inductiveautomation.com/t/vision-component-removing-default-appearance-properties/94107/4 "2024-08-02T13:39:58Z")

</div>

`CommonBeanInfo` has a `.removeProp()` method. Use that in your bean's `.initProperties()` override.
