I believe you're able to do it for the first minute after the creation of your thread. Unless you're a "special" user (moderators [of the section you created the thread in], global moderators, or administrator) you will not be able to change the name of your thread.
To edit the name of your thread, like mentioned above, is to double-click the area next to the thread link.