how to change button text color in swing java code example Example: change button color java swing botton.SetBackground(Color.red);