# How to set name and the display name of the component?

**URL:** <https://forum.inductiveautomation.com/t/how-to-set-name-and-the-display-name-of-the-component/5993>\
**Category:** Module Development\
**Created:** [March 8, 2013, 1:53pm UTC](https://forum.inductiveautomation.com/t/how-to-set-name-and-the-display-name-of-the-component/5993 "2013-03-08T13:53:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [March 8, 2013, 1:53pm UTC](https://forum.inductiveautomation.com/t/how-to-set-name-and-the-display-name-of-the-component/5993/1 "2013-03-08T13:53:43Z")

</div>

I’ve created a vision component with the SDK

```auto
PaletteItemGroup group = palette.addGroup("SIAILabs");
group.addPaletteItem(new JavaBeanPaletteItem(ClientHook.class));
```

How to change the name and the display name () of the component which is used in the designer ?

Mouse over on the component in the palette show :  
Short descrition not set  
display name not set

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [March 8, 2013, 4:34pm UTC](https://forum.inductiveautomation.com/t/how-to-set-name-and-the-display-name-of-the-component/5993/2 "2013-03-08T16:34:20Z")

</div>

You can set that in your ComponentBeanInfo class by overriding the initDesc function:`@Override
protected void initDesc() {
	getBeanDescriptor().setName("MyCompName");
	getBeanDescriptor().setDisplayName("My Display Name");
	getBeanDescriptor().setShortDescription("My description");
}`
