Working on a Macbook. PS CS5. When I am painting using the brush tool I press the option key to switch to the eyedropper temporarily to sample a color. It samples the color but makes it the background color. I have to go swap colors to paint in the color I sampled.
Go to the color palette, and select the foreground color instead of the background.
Right now you are picking the background by default.