Present perfect~Simple Past

Present Perfect or Simple Past?
Have a look at my room.

I have just painted it.
I painted it.

He can't go on holidays.

He has broken his leg.
He broke his leg last year.

Mr Taylor is dead.

He lived in that house all his life.
He has lived in that house all his life.

John is working very hard on his new book.

He hasn't finished it, yet.
He didn't finish it.

I love my flat. I am very happy here.

I have lived here all my life.
I lived here all my life.