I put that in what I would call an onClick event. I created my own class, created an outlet called helloButton, then connected that to a button on my interface. I'll upload the files when I get home, so you can see how useless i've been ;)
Thanks everyone for responding, I'll have a go at all...