How can one use SWOT analysis in stock selection?

What strengths, weaknesses, opportunities, and threats should investors look for in a company?