For example, if you provide a string as the first and only parameter of this function, it will set the label of the component to that string. This is usually what developer wants.
However, if you provde an integer as parameter, then setText() will search for a resource with corresponding Resource ID. It won't simply convert to string and display that value. If the resource is not found, it will throw the following error: