Display data on a widget

Trying to display an array inside a widget but it isnt working, as the casting is always failing, how can I get this to work?

How did you reference computer?