Where does Potassium Come from?

My mom always said that if I was having cramps in my legs then I was low on potassium. She would suggest I eat bananas, but it can also be found in tomatoes, citrus fruits, watermelon, milk and beans.