Robert Tressell,
The Ragged Trousered Philanthropists
.
The clue is direct: Owen Barrington, the central character in this novel, is a house painter.