Prison is one of the safest places to keep a dwarf that's prone to tantruming.
My jails consitently look like this:
WWWWW W-wall
W.1tD . - floor, or more happy making furniture if you want
WBCcD t - nice table
W22.W c - nice chair
WWWWW C - bling bling chain, set as prison cell room
B - nice bed, prevents sleeping on floor unhappy thought
1 - prepared food stockpile, no barrels
2 - booze stockpile
D - doors
I haven't tried designating the bed as a bedroom, as well as the table as a dining room, overlapping the jail room. This might even give the dwarf more happy thoughts in there.
It is a viable tactic, to keep some crimes handy to accuse dwarves of, so you can sentece unhappy dwarves to prison before they become more unhappy. They'll be happy enough in there during their prison time, and when they're freed, they'll get a pretty decent 'is happy to be free' thought too.
Prison > TLC
EDIT: N.B.! Unless this has changed with newer versions, the exact positioning is important. AFAIK the dwarf on a chain can only actively use objects that are straight north, south, west or east of the chain, but not the ones diagonally. This means the chair and table can't be swapped, or the dwarf can't sit. The dwarf will still put food on the table as he sits on the chair though when he sits on the chair. It also means you cannot shift the booze stockpile a tile to the right, because then the stockpile's default empty barrel will be on the south spot, instead of the full booze barrel.